Simple, Free and Easy to use Public api
Endpoints
Deployment
Development
-
Search
reddit
- Search for posts in redditurban dict
- Search for definitions in urban dictwallpapers
- Fetch wallpapers from redditnpm search
- Search for npm packages1337x search
- Search for torrents in 1337x
-
Language
-
Tools
password
- Generates a random password according to the given lengthcolor_palette
- Generate color palettes from imagescurrency
- Exchange rate from 'x' to 'y'. Data is scraped from x-rates
-
File server
-
Fun
This api is open source, you can deploy your own version easily 🤗
git clone https://github.com/Itz-fork/Nexa-API
cd Nexa-API
pip3 install -r requirements.txt
bash start.sh
Here are somethings to note,
- You can find api wrappers in
wrappers
directory - You can find config files in
config
directory - Reusable functions are located in
functions
directory - You can find routes in
routes
directory - Use
start script
when running the dev server (bash start.sh dev
)
- Create a new file in
routes
directory (Ex:myRoute.py
) - Add this code (Here we add new route named
/test
which returns the text,Hello from Fastapi, Nexa API 🌊
)
from fastapi import APIRouter
from ..functions.response import send_response
route = APIRouter()
@route.get("/test")
async def test_route():
return await send_response("Hello from Nexa API 🌊")
- Start the development server
bash start.sh dev
- Licensed under MIT License
- Color scheme by catppuccin
- Swagger UI Dark theme by Itz-fork