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)
Rocks vc Userbot: A Telegram Bot Project That's Allow You To Play Audio And Video Music On Telegram Voice Chat Group

⭐️ Rocks VC Userbot ⭐️ Telegram Userbot To Play Audio And Video Song On VC Chat

Dr Asad Ali 10 Jul 18, 2022
Riverside Rocks Python API

APIv2 Riverside Rocks Python API Routes GET / Get status of the API GET /api/v1/tor Get Tor metrics of RR family GET /api/v1/metrics Get bandwidth

null 3 Dec 20, 2021
❄️ Don't waste your money paying for new tokens, once you have used your tokens, clean them up and resell them!

TokenCleaner Don't waste your money paying for new tokens, once you have used your tokens, clean them up and resell them! If you have a very large qua

0xVichy 59 Nov 14, 2022
If you are in allot of groups or channel and you would like to leave them at once use this

Telegram-auto-leave-groups If you are in allot of groups or channel and you would like to leave them at once use this USER GUIDE ?? Insert your telegr

Julius Njoroge 4 Jan 3, 2023
A script to find the people whom you follow, but they don't follow you back

insta-non-followers A script to find the people whom you follow, but they don't follow you back Dependencies: python3 libraries - instaloader, getpass

Ritvik 5 Jul 3, 2022
A smart tool to backup members πŸ“ˆ So you even after a raid/ ban you can easily restore them in seconds 🎲

?? Discord-backer ?? A open-source Discord member backup and restore tool for your server. This can help you get all your members in 5 Seconds back af

John 29 Dec 21, 2022
VaccineAlarm is a simple python script that allows user to get notified when their desired vaccine doses are available at vaccine centers near them.

Introduction VaccineAlarm is a simple python script that allows user to get notified when their desired vaccine doses are available at vaccine centers

Ankit Tripathi 5 Nov 26, 2021
null 4 Oct 28, 2021
Unencrypted Story View Botter is a helpful tool that allows thousands of people to watch your posts.

Unencrypted Story View Botter is a helpful tool that allows thousands of people to watch your posts.

null 8 Aug 5, 2022
ShadowClone allows you to distribute your long running tasks dynamically across thousands of serverless functions and gives you the results within seconds where it would have taken hours to complete

ShadowClone allows you to distribute your long running tasks dynamically across thousands of serverless functions and gives you the results within seconds where it would have taken hours to complete

null 240 Jan 6, 2023