Sapio
Sapio copied to clipboard
Android Open Source API compatibility
trafficstars
![]()
Sapio
Sapio is the anagram of Open Source API.
Sapio provides the compatibility matrix of an Android application with bare Android Open Source Project (AOSP) devices, coupled or not with microG.
Evaluations in Sapio are given to the community by the community.
  
  
🔨 Build
Get the sources
git clone [email protected]:jonathanklee/Sapio.git
Build Sapio
cd Sapio
./gradlew assembleDebug
📱 Install
adb install ./app/build/outputs/apk/debug/app-debug.apk
:earth_africa: Public API
Base url
https://sapio.ovh/api
Endpoints
List evaluations
- Endpoint: /sapio-applications
- Method: GET
- Description: List evaluations
- Parameters: https://docs.strapi.io/dev-docs/api/rest/parameters
- Result:
- https://docs.strapi.io/dev-docs/api/rest#requests
- attributes:
- microg: 1 for microG, 2 for bareAOSP
- rooted: 3 for user, 4 for root
- rating: 1 for green, 2 for yellow, 3 for red
- Example: Get the latest 100 evaluations
curl -X GET "https://sapio.ovh/api/sapio-applications?pagination\[pageSize\]=100&sort=updatedAt:Desc"
Search evaluations
- Endpoint: /sapio-applications
- Method: GET
- Description: Search evaluations
- Parameters: https://docs.strapi.io/dev-docs/api/rest/filters-locale-publication#filtering
- Result:
- https://docs.strapi.io/dev-docs/api/rest#requests
- attributes:
- microg: 1 for microG, 2 for bareAOSP
- rooted: 3 for user, 4 for root
- rating: 1 for green, 2 for yellow, 3 for red
- Example: Search evaluations for an app called ChatGPT
curl -X GET "https://sapio.ovh/api/sapio-applications?filters\[name\]\[\$eq\]=ChatGPT"
Get icons
- Endpoint: /upload/files
- Method: GET
- Description: Get icons
- Parameters: https://docs.strapi.io/dev-docs/api/rest/parameters
- Example: Get ChatGPT icon
curl -X GET "https://sapio.ovh/api/upload/files?filters\[name\]\[\$eq\]=com.openai.chatgpt.png"
☕ Coffee
If you want to offer me a coffee for the maintenance of the server part: https://paypal.me/jnthnkl

