JSON

From OSSelot
Revision as of 01:10, 25 July 2023 by Wiki (talk | contribs)
Jump to navigation Jump to search

Obtain curation data in JSON format

Single version

To obtain curation data of a single version of a software package, the following URL may be used: http://osselot.org/json.php?<package>/version-<version> such as in a wget command

wget -qO - http://osselot.org/json.php?angular/version-15.2.2

All available versions of a software package

The command to obtain JSON formatted data of all available versions of a software package is very similar to the above except that the "version" part is not given such as

wget -qO - http://osselot.org/json.php?angular

Format JSON file in browser

If your browser supports display of JSON data either natively or after having installed an appropriate extension, you may immediately browse to the URL such as https://www.osselot.org/json.php?angular/version-15.2.2