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)
Weather telegram bot with aiogram, on Russian language

weather_bot Weather telegram bot with aiogram, on Russian language #RU Бот по определению погоды в Telegram, написана на библиотеке aiogram, весь инте

LinkxWan 0 Jan 06, 2022
Auxiliator is telegram bot for basic web-application analysis

Auxiliator Auxiliator is telegram bot for basic web-application analysis What for? Sometimes there is no access to your main PC, where you can scan we

Revoltage 13 Dec 26, 2021
Dashboard to monitor the performance of your Binance Futures account

futuresboard A python based scraper and dashboard to monitor the performance of your Binance Futures account. Note: A local sqlite3 database config/fu

86 Dec 29, 2022
discord.xp Bot, counts XP for members

discord.xp Bot, counts XP for members. How to setup and run? You must have an mysql database Download libs from the requirements.txt file Configurize

irwing 4 Feb 05, 2022
Complete portable pipeline for masking of Aadhaar Number adhering to Govt. Privacy Guidelines.

Aadhaar Number Masking Pipeline Implementation of a complete pipeline that masks the Aadhaar Number in given images to adhere to Govt. of India's Priv

1 Nov 06, 2021
The most fresh and updateable Telegram userbot. By one of the most active contibutors to GeekTG

Installation Script installation: Simply run this command out of root: . (wget -qO- http://gg.gg/get_hikka) Manual installation: apt update && apt in

Dan Gazizullin 150 Jan 04, 2023
an API to check if a url or IP address is safe or phishing

an API to check if a url or IP address is safe or phishing. Using a ML model. The API created using FastAPI.

Adel Dahani 1 Feb 16, 2022
Monitoring plugin for MikroTik devices

check_routeros - Monitoring MikroTik devices This is a monitoring plugin for Icinga, Nagios and other compatible monitoring solutions to check MikroTi

DinoTools 6 Dec 24, 2022
Based Telegram Bot and Userbot To Play Music in Your Telegram Groups With Some Cool Extra Features! 🥰

CallMusicPlus69 This Repo base on! 🤗️ A CallsMusic Based Telegram Bot and Userbot To Play Music in Your Telegram Groups With Some Cool Extra Features

brut✘⁶⁹ // ユスフ 6 Jun 26, 2022
A wrapper for slurm especially on Taiwania2 (HPC CLI)A wrapper for slurm especially on Taiwania2 (HPC CLI)

TWCC-slurm-wrapper A wrapper for slurm especially on Taiwania2 (HPC CLI). For Taiwania2 (HPC CLI) usage, please refer to here. (中文) How to Install? gi

Chi-Liang, Liu 5 Oct 07, 2022
数字货币动态趋势网格,随着行情变动。目前实盘月化10%。目前支持币安,未来上线火币、OKEX。

数字货币动态趋势网格,随着行情变动。目前实盘月化10%。目前支持币安,未来上线火币、OKEX。

幸福村的码农 98 Dec 27, 2022
Youtube Music Playlist Organizer

Youtube Music Playlist Organizer, a simple Python application that uses ytmusicapi to help user edit their playlists and organize in other playlists.

Bedir Tapkan 1 Oct 24, 2021
A modular Telegram Python bot running on python3 with a sqlalchemy, redislab, mongo database, telethon, and pyrogram.

Zeldris Robot A modular Telegram Python bot running on python3 with a sqlalchemy, redislab, mongo database, telethon, and pyrogram. How to set up/depl

IDNCoderX 42 Dec 21, 2022
A simple library for interacting with Amazon S3.

BucketStore is a very simple Amazon S3 client, written in Python. It aims to be much more straight-forward to use than boto3, and specializes only in

Jacobi Petrucciani 219 Oct 03, 2022
Python async SDK for betsapi.com

Python async SDK for betsapi.com

1 Dec 21, 2021
1 Feb 18, 2022
A python bot that scrapes free udemy coupons and sends them to Telegram.

About: A python telegram bot that scrapes information about fresh free Udemy coupons content from couponscorpion.com and sends it to teleram channel h

Irina Gayday 1 Dec 19, 2021
It is a temporary project to study discord interactions. You can set permissions conveniently when you invite a particular disk code bot.

Permission Bot 디스코드 내에 있는 message-components 를 연구하기 위하여 제작된 봇입니다. Setup /config/config_example.ini 파일을 /config/config.ini으로 변환합니다. config 파일의 기본 양식은 아

gunyu1019 4 Mar 07, 2022
Automatically Message From Discord Account

Discord-AutoMessage A robust and versatile solution for automated social interactions HOW TO INSTALL Open cmd cd into your project directory Run the f

13 Jul 11, 2022
PyMusic Player is a music player written in python3.

PyMusic Player is a music player written in python3. It harvests r

PythonSerious 2 Jan 30, 2022