From: Christian Weiske Date: Fri, 1 Nov 2019 21:19:47 +0000 (+0100) Subject: Initial version that allows you to log into a fresh factory-reset OUYA X-Git-Tag: v1.0.0~43 X-Git-Url: https://git.cweiske.de/stouyapi.git/commitdiff_plain/520ea68e4897f50fd699c498d5bf343994faf72a Initial version that allows you to log into a fresh factory-reset OUYA --- 520ea68e4897f50fd699c498d5bf343994faf72a diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..ab791c1 --- /dev/null +++ b/README.rst @@ -0,0 +1,57 @@ +************************** +stouyapi - Static OUYA API +************************** + +A static API for the OUYA gaming console that still lets you sign in +and install games, despite the OUYA server shutdown in 2019. + + +===== +Setup +===== + +OUYA config change +================== +- Mount via USB (Micro USB cable) +- Create file ``ouya_config.properties`` +- Add:: + + OUYA_SERVER_URL=http://stouyapi.boo + OUYA_STATUS_SERVER_URL=http://stouyapi.boo + +Notes: + +- "important note, don't put trailing slash into OUYA_SERVER_URL, it will make double slashes" +- I had to reboot to make that change in the file active + + +OUYA setup +========== + +1. User registration: "Existing account" +2. Enter any username, leave password empty. Continue. +3. Skip credit card registration + + + +=========== +Information +=========== +By default, OUYA uses HTTPS to devs.ouya.tv. +(status.ouya.tv is HTTP only, no SSL) +DNS mapping does not work, except when creating an own SSL certificate +and registering the root CA at the OUYA itself. + +IPv6 used -> custom domain needs IPv6 DNS entry + +https://rabid.ouya.tv/ - was OUYA's sandbox instance + +DEBUG=1 +DEBUG_SPAM=1 + +======== +See also +======== + +- https://gitlab.com/devirich/BrewyaOnOuya + diff --git a/www/api/firmware_builds b/www/api/firmware_builds new file mode 100644 index 0000000..17b2ccf --- /dev/null +++ b/www/api/firmware_builds @@ -0,0 +1,4 @@ +{ + "result": [ + ] +} diff --git a/www/api/v1/console_configuration b/www/api/v1/console_configuration new file mode 100644 index 0000000..15d1661 --- /dev/null +++ b/www/api/v1/console_configuration @@ -0,0 +1,3 @@ +{ + "BTC_LAUNCHER_PACKAGES":"tv.ouya.xbmc,tunein.player,tv.twitch.android.viewer,com.plexapp.android,tv.ouya.bbciplayer,tv.ouya.hulu,tv.ouya.minecrafttv,tv.ouya.ouyabrowser,tv.ouya.pandora,tv.ouya.visiomgo,tv.ouya.youtube,tv.ouya.tubitv" +} diff --git a/www/api/v1/crash_report b/www/api/v1/crash_report new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/www/api/v1/crash_report @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/www/api/v1/events b/www/api/v1/events new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/www/api/v1/events @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/www/api/v1/gamers/me/agreements b/www/api/v1/gamers/me/agreements new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/www/api/v1/gamers/me/agreements @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/www/api/v1/gamers/me/consoles b/www/api/v1/gamers/me/consoles new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/www/api/v1/gamers/me/consoles @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/www/api/v1/gamers/me/index.html b/www/api/v1/gamers/me/index.html new file mode 100644 index 0000000..1b1527b --- /dev/null +++ b/www/api/v1/gamers/me/index.html @@ -0,0 +1,9 @@ +{ + "gamer": { + "uuid": "00702342-0000-1111-2222-c3e1500cafe2", + "settings": {}, + "founder": true, + "email": "stouyapi@example.org", + "username": "stouyapi" + } +} diff --git a/www/api/v1/gamers/me/user_messages b/www/api/v1/gamers/me/user_messages new file mode 100644 index 0000000..2b7cb7a --- /dev/null +++ b/www/api/v1/gamers/me/user_messages @@ -0,0 +1,4 @@ +{ + "messages": [ + ] +} \ No newline at end of file diff --git a/www/api/v1/premium_purchases b/www/api/v1/premium_purchases new file mode 100644 index 0000000..ff20dac --- /dev/null +++ b/www/api/v1/premium_purchases @@ -0,0 +1,4 @@ +{ + "games": [ + ] +} diff --git a/www/api/v1/queued_downloads b/www/api/v1/queued_downloads new file mode 100644 index 0000000..a179906 --- /dev/null +++ b/www/api/v1/queued_downloads @@ -0,0 +1,3 @@ +{ + "queue": [] +} diff --git a/www/api/v1/ratings b/www/api/v1/ratings new file mode 100644 index 0000000..dd679d5 --- /dev/null +++ b/www/api/v1/ratings @@ -0,0 +1,3 @@ +{ + "ratings": [] +} diff --git a/www/api/v1/recommendations b/www/api/v1/recommendations new file mode 100644 index 0000000..c568967 --- /dev/null +++ b/www/api/v1/recommendations @@ -0,0 +1,3 @@ +{ + "games": [] +} diff --git a/www/api/v1/sessions b/www/api/v1/sessions new file mode 100644 index 0000000..b76532f --- /dev/null +++ b/www/api/v1/sessions @@ -0,0 +1,3 @@ +{ + "token": "00702342-0000-1111-2222-c3e1500cafe1" +} diff --git a/www/api/v1/status b/www/api/v1/status new file mode 100644 index 0000000..e69de29 diff --git a/www/api/v1/themes b/www/api/v1/themes new file mode 100644 index 0000000..2a2f048 --- /dev/null +++ b/www/api/v1/themes @@ -0,0 +1,5 @@ +{ + "background_style": "static", + "background": "", + "video": "" +} diff --git a/www/api/v1/wallet b/www/api/v1/wallet new file mode 100644 index 0000000..7fc68e3 --- /dev/null +++ b/www/api/v1/wallet @@ -0,0 +1,6 @@ +{ + "requiresPaymentMethod": false, + "balance": 0, + "credit_card": null, + "currency": "EUR" +}