Skip to content

Local OUYA API server app

License

Notifications You must be signed in to change notification settings

cweiske/louyapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

louyapi - Local OUYA API server app

An application for the OUYA that runs an OUYA API server. With it, the OUYA brings its own API server it can talk to.

Game detail pages and the disover store are served by the OUYA itself. Only images and .apk files are requested from http://statics.ouya.world

It utilizes the static API files generated by stouyapi from the OUYA game meta data repository

Development

Building stouyapi files

git clone the game data and stouyapi repositories. Then generate the API files:

$ cd stouyapi
$ ./bin/clean-generated-keep-qr.sh
$ ./bin/import-game-data.php --mini --noqr ../game-data/folders

Now copy the generated files into louyapi's src/main/assets/stouyapi-www/ directory:

$ cd louyapi $ ./bin/copy-from-stouyapi.sh

Now the apk can be compiled.

Building a release

At first add a path to a signing configuration file into gradle.properties:

signingconfigfile=/path/to/signing-config.gradle

The signing configuration file should look as shown in Handling signing configs with Gradle

Now build the signed apk file in build/outputs/apk/release/louyapi-release.apk:

$ ./gradlew assembleRelease

Helpful information for implementation

About louyapi

louyapi was written by Christian Weiske, [email protected].

License

louyapi is licensed under the AGPL v3.