codebase of the entire resetapi.
curently hosted on replit
Want to have your Own API for your BDFD Bots? [1/2] Instead of using 3rd party APIs, host your own and Modify your very own API!
We know how many of you used reset's APIs to make stuffs in your bot, and we understand the frustration which we all went through since the API started getting down more often than usual. So krish decided to release the entire API to the public. All the endpoints work except few which required private API keys. The API is open-sourced and therefore free for everyone, krish will be adding more endpoints with time (you will have to fork the new ones with every updates) which you can get notified of from his support discord server.
- Create an account in Replit and Uptimerobot if you havent already.
- Open this link and Click the [Fork Repl] button.
- Wait for some time, the Repl will load up in your own replit.
- Click the [Run Button] and you will get a URL on the top (if phone), top right (if PC) which would look like "https://repl_name.your_username.repl.co/" after some time. This is your Base URL. And your API is deployed. You can use for example emojify endpoint as "https://repl_name.username.repl.co/emojify?text=omg"
PS : in app.py
there is a line with a token variable where you can give your discord bot token to use the /users
endpoint.
- To make the API 24/7, go to the Uptimerobot and create new monitor, and setup the stuffs as shown in this image
- Your API is now deployed and will work 24/7 (almost, if replit is doesnt get crazy as it always does). If the API somehow dies, you can open up the Replit and run it again.
These steps are not requires if you have a hacker Plan in replit.
credits to Rajat
(Rajat#1004, https://jharajat.com.np/) for writing this wonderful readme.md!
credits to resetxd#8278
for making this API!
credits to the people
who uses the APIs!