Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/romiyusnandar/orion-api
https://github.com/romiyusnandar/orion-api
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/romiyusnandar/orion-api
- Owner: romiyusnandar
- Created: 2024-06-17T14:12:57.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-05T05:44:49.000Z (about 2 months ago)
- Last Synced: 2024-11-05T06:22:36.110Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://orion-apiv1.vercel.app
- Size: 64.5 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# API for get all information about OrionOS
For now u just can get /device and /developer# Instalation
- Run in your terminal
```sh
git clone https://github.com/romiyusnandar/orion-api.gitcd orion-api
npm install
npm start
```- Server akan berjalan di http://localhost:7000
# Routes
| Endpoint | Params | Description |
| --------- | ------ | ----------------------------------------------------------- |
| /device | | To get all device data |### Example request
```js
(async () => {
const response = await fetch("http://localhost:7000/device");
const result = await response.json();console.log(result);
})();
```### Example Response
```json
{
"_id": 101,
"slug": "rock",
"device_image": "https://www.static-src.com/wcsstore/Indraprastha/images/catalog/full//99/MTA-87043382/xiaomi_xiaomi_poco_m5_full31_mnso77ok.jpg",
"device_name": "Poco M5",
"device_codename": "Rock",
"device_changelog": "/",
"maintainer_name": "Onle",
"build_status": "Stable",
"official_status": "• Active Maintained",
"android_version": "14.0",
"download_link": "/",
"release_frequncy": "Monthly",
"require_custom_recovery": "Yes With Ofox Recomended"
}
```# Another guide is [here](https://orion-apiv1.vercel.app/)