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)
Predict the Site EUI, given the characteristics of the building and the weather data for the location of the building.

wids_datathon_2022 Description: Contains a data pipeline used to predict energy EUI Goals: Dataset exploration Automating the parameter fitting, gener

1 Mar 25, 2022
GET-ACQ is a python tool used to gather all companies acquired by a given company domain name.

get-acq 🏒 GET-ACQ is a python tool used to gather all companies acquired by a given company domain name. It is done by calling SecurityTrails API. Us

Milan 7 Dec 19, 2022
search different Streaming Platforms for movie titles.

Install git clone and cd to directory install Selenium download chromedriver.exe to same directory First Run Use --setup True for the first run. Platf

34 Dec 25, 2022
Tglogging - A python package to send your app logs to a telegram chat in realtime

Telegram Logger A simple python package to send your app logs to a telegram chat

SUBIN 60 Dec 27, 2022
An unofficial client library for Google Music.

gmusicapi: an unofficial API for Google Play Music gmusicapi allows control of Google Music with Python. from gmusicapi import Mobileclient api = Mob

Simon Weber 2.5k Dec 15, 2022
Simple web browser to visualize HiC tracks

HiCBrowser : A simple web browser to visualize Hi-C and other genomic tracks Fidel Ramirez, JosΓ© Villaveces, Vivek Bhardwaj Installation You can insta

The deepTools ecosystem 14 Jun 21, 2022
Simple, yet effective moderator bot for telegram. With reports, logs, profanity filter and more :3

πŸ‘Ή Samurai Telegram Bot Simple, yet effective moderator bot for telegram. With reports, logs, profanity filter and more :3 Description Personal bot, m

Abraham Tugalov 106 Dec 13, 2022
Monetize your apps with KivAds using Google AdMob api.

KivAds(WIP) Monetize your apps with KivAds using Google AdMob api. KivAds uses the latest version of Google AdMob sdk(version 20.0.0). KivAds exposes

Guhan Sensam 16 Nov 05, 2022
SongBot2.0 With Python

SongBot2.0 Host πŸ‘¨β€πŸ’» Heroku πŸš€ Manditary Vars BOT_TOKEN : Get It from @Botfather Special Feature Downloads Songs fastly and less errors as well as 0

Mr.Tanaji 5 Nov 19, 2021
Boilerplate template for the discord-py-interactions library

discord-py-interactions_boilerplate Boilerplate template for the discord-py-interactions library Currently, this boilerplate supports discord-py-inter

Ventus 7 Dec 03, 2022
A pyrogram simple bot for Educational purpose.

A pyrogram simple bot for Educational purpose. To Learn More check at @PyrogramBot or on Documentation Mandatory variables API_ID - Get It From my.tel

SpamShield 10 Dec 06, 2022
A simple bot which using an API , detects reported discord scams and kicks the user if possible while deleting the message

A simple bot which using an API , detects reported discord scams and kicks the user if possible while deleting the message

Vioshim 3 Nov 16, 2022
This is a discord token generator(requests) which works and makes 200 tokens per minute

Discord Email verified token generator Creates email verified discord accounts (unlocked) Report Bug Β· Discord server Features Profile pictures and na

131 Dec 10, 2022
Python bindings for BigML.io

BigML Python Bindings BigML makes machine learning easy by taking care of the details required to add data-driven decisions and predictive power to yo

BigML Inc, Machine Learning made easy 271 Dec 27, 2022
An EmbedBuilder in Python for discord.py embeds. Pip Module.

Discord.py-MaxEmbeds An EmbedBuilder for Discord bots in Python. You need discord.py to use this module. Installation Step 1 First you have to install

Max Tischberger 6 Jan 13, 2022
A simple Python wrapper for the Amazon.com Product Advertising API β›Ί

Amazon Simple Product API A simple Python wrapper for the Amazon.com Product Advertising API. Features An object oriented interface to Amazon products

Yoav Aviram 789 Dec 26, 2022
A Python module for communicating with the Twilio API and generating TwiML.

twilio-python The default branch name for this repository has been changed to main as of 07/27/2020. Documentation The documentation for the Twilio AP

Twilio 1.6k Jan 05, 2023
An simple python script for remove rockstar account for fivem, very useful for cheating or change account for unban from an server, remember change steam account.

This tool is used for be unbanned from servers, u need disconnect the discord, use other steam account and uninstall xbox for be unbanned 100%, it only work for unban in server, not global

MiguDEV 4 Oct 10, 2022
Web-music-bot - A telegram bot which get a *site Url* and sends all songs contain in the Url to telegram

web music bot this is a telegram bot which get a site Url and sends all songs co

Arya Shabane 4 Apr 02, 2022
Send Informative, Concise Slack Notifications With Minimal Effort

slack-templates Send Informative, Concise Slack Notifications With Minimal Effort slack-templates Slack Integration Available Templates Usage Report t

9 Nov 03, 2022