Rock API is an API that allows you to view rocks and find the ratings on them

Overview

Rock API

The best Rock API

What is Rock API?

Rock API is an API that allows you to view rocks and find the ratings on them. However, this isn't a regular "rock finding" API... We have rocks like, crunchy rock, moonrock, and MANY more. This api we made for entertainment purposes. Use this API in your Discord bot for commands like pls rock or !randomrock. Use it in your website for... something.

How do I use Rock API?

URL = https://mrconos.pythonanywhere.com/rock/ - Gives you a rock which returns a name, desc, image (link or none), and rating. The rating is supposed to be out of 5.

Random URL = https://mrconos.pythonanywhere.com/rock/random - Gives you a random rock from the API.

View the tests folder for more examples.

💁‍♂️ DM me on Discord at Conos#9079 if you have more questions. :)

You might also like...
A custom Discord Rich Presence to display when you're studying so you're stupid friends won't disturb you when you're studying.

Studying RPC Description A custom Discord Rich Presence to display when you're studying so you're stupid friends won't disturb you when you're studyin

A python package that allows you to place automated trades using the TD Ameritrade API.

Template Repo Table of Contents Overview Setup Usage Support These Projects Overview Setup Setup - Requirements Install:* For this particular project,

An API that allows you to get full information about TikTok videos

TikTok-API An API that allows you to get full information about TikTok videos without using any third party sources and only the TikTok API. ##API onl

A python script fetches all your starred repositories from your GitHub account and clones them to your server so you will never lose important resources
A python script fetches all your starred repositories from your GitHub account and clones them to your server so you will never lose important resources

A python script fetches all your starred repositories from your GitHub account and clones them to your server so you will never lose important resources

This bot will pull a stream of tweets based on rules you set and automatically reply to them.

Twitter reply bot This bot will pull a stream of tweets based on rules you set and automatically reply to them. I built this bot in order to help comb

domhttpx is a google search engine dorker with HTTP toolkit built with python, can make it easier for you to find many URLs/IPs at once with fast time.
domhttpx is a google search engine dorker with HTTP toolkit built with python, can make it easier for you to find many URLs/IPs at once with fast time.

domhttpx is a google search engine dorker with HTTP toolkit built with python, can make it easier for you to find many URLs/IPs at once with fast time

A liblary whre you can find helpful functions for your discord bot

DBotUtils A liblary whre you can find helpful functions for your discord bot Easy setup Setup is easily and flexible. Change anytime. After setup just

SongFinder Bot helps you to find song name by recognising via voice note or instagram reels shared link.

SongFinder V1.1 SongFinder to detect songs name by just sending voice note or instagram reels links to your telegram bot. FFMPEG must be installed on

Instagram Brute force attack helps you to find password of an instagram account from your list of provided password.
Instagram Brute force attack helps you to find password of an instagram account from your list of provided password.

Instagram Brute force attack Instagram Brute force attack helps you to find password of an instagram account from your list of provided password. Inst

Comments
  • [Workflow Suggestion] Formatting with `black`

    [Workflow Suggestion] Formatting with `black`

    I suggest using the black formatter (pip install black) for this project.

    Motive

    black is an unforgiving formatter, that meaning it's extremely consistent with it's guidelines. I think this consistency in style would be appreciated by other developers working on this project.

    Installation

    $ pip install black
    or
    $ python3 -m pip install black
    

    Usage

    $ black .
    or
    $ python3 -m black .
    

    Externals

    https://github.com/psf/black https://pypi.org/project/black/

    opened by schlopp 1
  • API Structure

    API Structure

    Resource

    Why not use FastAPI to create the API? FastAPI offers more resources.

    Build

    Moreover, the architecture of this project can be better

    Rock-API
    │   README.md 
    │
    └───api
    │   │   main.py   
    └───tests
        │   test1.py
        │   test2.py
    

    And the architecture of the API itself can be improved too

    mrconos.pythonanywhere.com/rock

    • /post - upload a new rock
    • /random - get a random rock from the API
    • /get - get a specific rock by name/ID

    Other features that can be added

    • An unique ID for every rock
    • Search for rocks
    • Rocks upload and receive by base64
    opened by BruceCodesGithub 1
  • Documentation tells you to use a deprecated library. (request)

    Documentation tells you to use a deprecated library. (request)

    The node package "request" is deprecated. image

    https://www.npmjs.com/package/request image

    I'd recommend changing the documentation to either have examples using node-fetch or axios instead.

    node-fetch: https://www.npmjs.com/package/node-fetch axios: https://www.npmjs.com/package/axios

    opened by real2two 1
  • There was a frog in the API.

    There was a frog in the API.

    Describe the bug The API is supposed to send you a picture of a rock. There was a frog.

    To Reproduce Steps to reproduce the behavior:

    1. Go to https://mrconos.pythonanywhere.com/rock/random
    2. Constantly reload until you get something like {"name": "frogg", "desc": "Definitely a rock.", "image": "https://tinyimg.io/i/VRWsyTb.png", "rating": 4}.

    Expected behavior There should be no frog.

    Screenshots image image

    Desktop (please complete the following information):

    • OS: Microsoft Windows 10 Home 10.0.19043 Build 19043
    • Browser: 101.0.4951.67 (Official Build) (64-bit) (cohort: Stable)
    opened by real2two 1
Releases(v1.2.0)
  • v1.2.0(Jul 8, 2022)

    Rock API Update

    Hello everyone! This update was all about host and database migration to make Rock API more secure and work better.

    Quick bits

    • Pythonanywhere domain changed to rockapi.apiworks.tech
    • SQLite database -> Postgresql database
    • Managed any big problems
    • No endpoints changed

    What's Changed

    • Update usage.rst by @Mr-Conos in https://github.com/Mr-Conos/Rock-API/pull/30
    • 🛫 Changing the base link to the new link by @Mr-Conos in https://github.com/Mr-Conos/Rock-API/pull/36
    • 🛫 Change base link by @Mr-Conos in https://github.com/Mr-Conos/Rock-API/pull/37

    New Contributors

    • @schlopp made their first contribution in https://github.com/Mr-Conos/Rock-API/pull/31

    Full Changelog: https://github.com/Mr-Conos/Rock-API/compare/v1.1.0...v1.2.0

    Source code(tar.gz)
    Source code(zip)
  • v1.1.0(Feb 15, 2022)

    Rock API Update

    Yo wassup gamers. I made update. If you find any bugs or potential problems, feel free to make an issue.

    Update log

    1. View the total number of rocks with the /count endpoint 📂

    2. Rate rocks - new base URL ⭐

    3. Security fixes 🔒

    New Contributors

    • @BobBrown1 made their first contribution in https://github.com/Mr-Conos/Rock-API/pull/2 Thanks for the docs :)

    Full Changelog: https://github.com/Mr-Conos/Rock-API/compare/v1.0.0...v1.1.0

    Source code(tar.gz)
    Source code(zip)
  • v1.0.0(Jan 28, 2022)

    Rock API V1.0.0

    Features -

    Search for a rock Find a random rock at https://mrconos.pythonanywhere/rock/random

    More will come soon

    Full Changelog: https://github.com/Mr-Conos/Rock-API/compare/rock...v1.0.0

    Source code(tar.gz)
    Source code(zip)
  • rock(Jan 28, 2022)

    Rock API v0.1.0-alpha

    • Lookup different rocks. Returns rock name, description, image url, and rock rating.
    • Post rocks to the API using "put". Feature only available to select IPs.
    • Update rock information using "Patch". Feature only available to select IPs.

    Planned Features

    • Delete feature which will delete a specific rock query.
    • A Discord Bot that will allow users to rate rocks.

    Full Changelog: https://github.com/Mr-Conos/Rock-API/commits/rock

    Source code(tar.gz)
    Source code(zip)
An script where it logs in your instagram account and follows people and likes their posts

InstaFollower An script where it logs in your instagram account and follows people and likes their posts (uses the tags to fetch people) Requirements:

Bless 3 Nov 29, 2022
Archive tweets and make them searchable

Tweeter Archive and search your tweets and liked tweets using AWS Lambda, DynamoDB and Elasticsearch. Note: this project is primarily being used a tes

Kamil Sindi 8 Nov 18, 2022
Primeira etapa do processo seletivo para a bolsa de migração de conteúdo de Design de Software.

- Este processo já foi concluído. Obrigado pelo seu interesse! Processo Seletivo para a bolsa de migração de conteúdo de Design de Software Primeirame

Toshi Kurauchi 1 Feb 21, 2022
HelpDESK Dynamics

Helpdesk Application The project is a Helpdesk application (Helpdesk dynamics) where staff of an organization can raise and assign job/trouble tickets

Okeoma Ihunwo 0 Nov 14, 2021
Use Seaborn to visualize interpret the byte layout of Solana account types

solana-account-vis Use Seaborn to visually interpret the byte layout of Solana account types Usage from account_visualization import generate_account_

Jarry Xiao 15 Aug 25, 2022
Replace sequence_IDs in gff3 based on given genome.fasta

gff-rename Replace the sequence IDs in a gff3 file with a set of provided sequence IDs from a genom.fasta. This is useful when a gff3 file is retrieve

tolkit 1 Nov 12, 2021
A BOT TO FIND ID OF A STICKER.

sticker id A BOT TO FIND ID OF A STICKER. THIS REPOSITORY HAVE TWO BRANCHES FOR DEPLOY WITH COMMAND & WITHOUT COMMAND. Mandatory variables API_ID - Ge

Ashik Muhammed 3 Dec 29, 2022
Automatic generation of crypto-arts based on image layers

NFT Generator Автоматическая генерация крипто-артов на основе слоев изображения. Установка pip3 install -r requirements.txt rm -rf result/* Как это ра

Zproger 31 Dec 29, 2022
Simple Telegram Bot To Get Feedback from users & Some Other Features

FeedbackBot Simple Telegram Bot To Get Feedback from users & Some Other Features. Features Get Feedback from users Reply to user's feedback Customisab

Arun 18 Dec 29, 2022
An async python wrapper to interact with the Steam API and its CMs

steam.py A modern, easy to use, and async ready package to interact with the Steam API. Heavily inspired by discord.py and borrowing functionality fro

James Hilton-Balfe 90 Dec 15, 2022
Soundcloud Music Downloader

Soundcloud Music Downloader Description This script is able to download music from SoundCloud and set id3tag to the downloaded music. Compatible with

Ronan 2.6k Jan 01, 2023
🐍 The official Python client library for Google's discovery based APIs.

Google API Client This is the Python client library for Google's discovery based APIs. To get started, please see the docs folder. These client librar

Google APIs 6.2k Dec 31, 2022
An open souce video/music streamer based on MPV and piped.

🎶 Harmony Music An easy way to stream videos or music from Youtube from the command line while regaining your privacy. 📖 Table Of Contents ❔ What's

Zingy Tomato 16 Nov 15, 2022
A python bot that stops muck chains

muck-chains-stopper-bot a bot that stops muck chains this is the source code of u/DaniDevChainBreaker (the main r/DaniDev muck chains breaker) guys th

24 Jan 04, 2023
Pythonic and easy iCalendar library (rfc5545)

ics.py 0.8.0-dev : iCalendar for Humans Original repository (GitHub) - Bugtracker and issues (GitHub) - PyPi package (ics) - Documentation (Read The D

ics.py 513 Jan 02, 2023
EpikCord.py - This is an API Wrapper for Discord's API for Python

EpikCord.py - This is an API Wrapper for Discord's API for Python! We've decided not to fork discord.py and start completely from scratch for a new, better structuring system!

EpikHost 28 Oct 10, 2022
A demo titiler for Sentinel 2 Digital Twin dataset

This is a DEMO custom api built on top of TiTiler to create Web Map Tiles from the Digital Twin Sentinel-2 COG created by Sinergise

Development Seed 26 May 21, 2022
Riffdog Terraform scanner - finding 'things' in the Real World (aka AWS) which Terraform didn't put there.

riffdog Riffdog Terraform / Reality scanner - finding 'things' in the Real World which Terraform didn't put there. This project works by firstly loadi

Riffdog 4 Mar 23, 2020
Latest Open Source Code for Playing Music in Telegram Video Chat. Made with Pyrogram and Pytgcalls 💖

MusicPlayer_TG Latest Open Source Code for Playing Music in Telegram Video Chat. Made with Pyrogram and Pytgcalls 💖 Requirements 📝 FFmpeg NodeJS nod

Abhijith Sudhakaran 2 Feb 04, 2022
Userbot Telegram dengan Telethon

FLICKS - UBOT Repo FLICKS UBOT Repo Yang Dibuat Oleh Rizzz Dari beberapa Repo Yang Ada Di Github. Generate String Using Replit ⤵️ DEPLOY TO HEROKU Sup

FJ_GAMING 14 May 16, 2022