/louyapi

Local OUYA API server app

Primary LanguageJavaGNU Affero General Public License v3.0AGPL-3.0

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, cweiske+ouya@cweiske.de.

License

louyapi is licensed under the AGPL v3.