HOWTO: Interfacing with our JSON API

Around here we like things to be open, so we chose to make our JSON feed available  to anybody who wishes to use it on their website.  You can use this to show a feed of your roms easily on your own website, or give people an always updated gapps listing. 

Features:

  • Search requests
  • Listing of current gapps packages
  • Listing directories and files by path OR board

Browsing:

Parameters: path(relative to the site), ro_board(device board name)

Basic browse request

http://goo.im/json2&path=/devs

Browsing by device board name:

http://goo.im/json2&path=/devs&ro_board=toro

Searching: 

Parameters: query(the string you wish to search for)

Basic search request

http://goo.im/json2&action=search&query=touchpad

Getting our google apps package listing: 

Parameters: None

How to retrieve our google apps package listing

http://goo.im/json2&action=gapps

How to retrieve a gapps update based on version (refer to /system/g.prop)

http://goo.im/json2&action=gapps_update&gapps_platform=ICS&gapps_addon_version=1234

 

blog comments powered by Disqus