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)
PR Changes Matrix Builder

Pr-changes-matrix-builder - A Github Action that will output a variable to be used in a matrix strategy job based on a PR&'s changes

Kyle James Walker (he/him) 21 Oct 04, 2022
Some examples regarding how to use the Twitter APIs for academic research

Twitter Developer Platform: Using Twitter APIs for Academic Research All the scripts require a config.ini file in which the keys are put. There is a t

Federico Bianchi 6 Feb 13, 2022
A virus/stealer made in py

python-virus A virus/stealer made in py. Features: Discord token stealer, Password stealer, Windows key stealer, Credit-card stealer, Image grab, Anti

SKYNETMARCI 5 Dec 12, 2022
Discord-shell - Reverse shell accessible via discord.py bot

Discord-shell reverse shell on discord bot. (STILL IN DEVELOPMENT) Installation

Skultz 6 Oct 21, 2022
Скрипт, позволяющий импортировать плейлисты из Spotify, а также обычные треклисты в VK музыку.

vk-music-import Программа для переноса плейлистов из Spotify и текстовых треклистов в VK Музыку. Преимущества: Позволяет быстро импортировать плейлист

Mew Forest 32 Nov 23, 2022
A Chip-8 emulator written using Python's default libraries

Chippure A Chip-8 emulator written using Python's default libraries. Instructions: Simply launch the .py file and type the name of the Chip8 ROM you w

5 Sep 27, 2022
Senditapp.com bot spammer, spam your friends

Sendit Spammer Python ⚠️ I am not responsible for how you use this tool. This tool is against "Sendit" ToS and shall not be used in a production envir

Glaukio 1 Dec 31, 2021
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
An unofficial python wrapper for the comdirect API for private consumers.

An unofficial python wrapper for the comdirect API for private consumers.

Alexander Knittel 18 Nov 30, 2022
A Telegram Bot with(Forwarder Bot + User Bot + More Features )

A Telegram Bot with(Forwarder Bot + User Bot + More Features )

Kaif 3 Feb 16, 2022
Bender: A Markov Babbler Slack Bot

See the Digital Ocean tutorial for instructions on how to get the basic bot structure in place. Once you have that, set the gunicorn command to run as

Andrew Howard 1 Dec 04, 2021
Boto is a Python package that provides interfaces to Amazon Web Services.

Boto is a Python package that provides interfaces to Amazon Web Services.

the boto project 6.5k Jan 01, 2023
Automatically detect changes made to the official Telegram sites.

🕷 Telegram Web Crawler This project is developed to automatically detect changes made to the official Telegram sites. This is necessary for anticipat

Il'ya 115 Dec 31, 2022
Windows版本微信客户端(非网页版)自动化,可实现简单的发送、接收微信消息

wxauto Windows版本微信客户端自动化,可实现简单的发送、接收微信消息

357 Dec 29, 2022
Easy-apply-bot - A LinkedIn Easy Apply bot to help with my job search.

easy-apply-bot A LinkedIn Easy Apply bot to help with my job search. Getting Started First, clone the repository somewhere onto your computer, or down

Matthew Alunni 5 Dec 09, 2022
Verkehrsunfälle in Deutschland, aufgeschlüsselt nach Verkehrsmittel des Hauptverursachers und Nebenverursachers

How-To Einfach ./main.py ausführen mit der Statistik-Datei aus dem Ordner "Unfälle_mit_mehreren_Beteiligten" als erstem Argument. Requirements python,

4 Oct 12, 2022
Python client for Arista eAPI

Arista eAPI Python Library The Python library for Arista's eAPI command API implementation provides a client API work using eAPI and communicating wit

Arista Networks EOS+ 124 Nov 23, 2022
Ap lokit lokit

🎵 FANDA MUSIC BOT Fanda Music adalah proyek bot telegram yang memungkinkan Anda memutar musik di obrolan suara grup telegram. a href="https://www.py

Fatur 2 Nov 18, 2021
This code will guide you on how you can make your own Twitter Bot.

This code will guide you on how you can make your own Twitter Bot. This bot retweets, and likes to tweet with a particular word, here Python3.

Kunal Diwan 1 Oct 14, 2022
A discord Server Bot made with Python, This bot helps people feel better by inspiring them with motivational quotes or by responding with a great message, also the users of the server can create custom messages by telling the bot with Commands.

A discord Server Bot made with Python, This bot helps people feel better by inspiring them with motivational quotes or by responding with a great message, also the users of the server can create cust

Aran 1 Oct 13, 2021