A RESTful API made using FASTAPI written in Python(v3.11 and above) service that provides OTA (Over-The-Air) update information for RisingOS ROM. This API fetches and serves data from the RisingOTA repository, making it easy to access device-specific ROM information programmatically.
- Endpoints rename to API naming convention
- Project Restructure with separate concerns (routes, services, models)
- RESTful endpoints for accessing ROM information
- Real-time data synchronization with RisingOTA repository
- Cached responses for improved performance
- Comprehensive device and build information
- JSON response format
- Using concurreny to improve fetching time
- Authentication using GitHub API
- fastapi[standard]>=0.112.0
- requests
- pydantic
- apscheduler
- git
- pygithub
- python-dotenv
you can access:
- Swagger UI documentation at https://ros-api-98t4.onrender.com/docs
- ReDoc documentation at https://ros-api-98t4.onrender.com/redoc
- API status
GET /
- DeviceList
GET /api/v1/device/deviceList
- Device Variants and Information
GET /api/v1/device/{codename}
example: /device/lynx, /device/cancunf, etc.
βββ main.py
βββ ROSAPI
β βββ functions
β βΒ Β βββ DeviceList.py
β βΒ Β βββ DeviceVaraints.py
β βββ __init__.py
β βββ Models
β βββ DnListModel.py
β βββ __init__.py
β
βββ README.md
βββ requirements.txt