===========================================================================
Info: There was a major bug fixed, some of the packages weren't readable trough the API.
There were changes made to some tags (packagelink, instructions, homepage, source) that now provide everything as CDATA. Depending on how you read the API you now have to parse this out.
To get a list of all packages in the database use the value list-all-packages for the action-parameter.
api.php?action=list-all-packages
To get a specific package use the value show-package for the action-parameter and the pid-parameter to pass the package's id.
api.php?action=show-package&pid=12
To search for a package use the value search-package for the action-parameter and pass your query with the q-parameter.
api.php?action=search-package&q=packagename
To get a list of all updates in the database use the value list-all-updates for the action-parameter.
api.php?action=list-all-updates
To get a list of all updates a specific package had use the value list-all-updates for the action-parameter and also write down the package's id (pid).
api.php?action=list-all-updates&pid=12
To get a specific update use the value show-update for the action-parameter and also wirte down the update's id (uid).
api.php?action=show-update&uid=12
Please mail all your problems and questions to info@opkg.org.