Difference between revisions of "Firefox Marketplace"
(Added info about the site structure and JSON API, using data from /u/freestorage on Reddit and the official Mozilla Documentation.) |
|||
Line 16: | Line 16: | ||
</blockquote> | </blockquote> | ||
== Structure == | |||
Mozilla has a JSON API backend for the marketplace; documentation can be found here: http://firefox-marketplace-api.readthedocs.io/en/latest/ | |||
For example, https://marketplace.cdn.mozilla.net/api/v2/feed/get/?cache=21600&dev=firefoxos&lang=en-US&limit=10®ion=fi&vary=0 displays all of the application data for the front page of the site. | |||
From there we can take 2048 as an example, we can take the value of manifest_url, which gives us the URL to download the app: https://marketplace.firefox.com/app/d77a62a6-3128-471d-9f97-845d9772be04/manifest.webapp | |||
The actual download URL is stored in the package_path value in the manifest, e.g. "package_path": "https://marketplace.firefox.com/downloads/file/264351/2048-1.7.zip". | |||
To get the rest of the information of an app the value of the slug field can be used, eg: https://marketplace.firefox.com/api/v2/fireplace/app/2048~/?cache=1&dev=firefoxos&lang=en-US&limit=24®ion=fi&vary=0 | |||
{{Navigation box}} | {{Navigation box}} |
Revision as of 22:32, 1 March 2018
Firefox Marketplace | |
URL | https://marketplace.firefox.com/ |
Status | Closing |
Archiving status | Not saved yet |
Archiving type | Unknown |
IRC channel | #archiveteam-bs (on hackint) |
Firefox Marketplace is an online marketplace of applications for Mozilla's failed Firefox OS.
Shutdown
On February 28, 2018, it was announced that Firefox Marketplace would be shut down on March 30, 2018:
The Marketplace will shut down on March 30th, 2018. If there are any apps that you would like, and have not downloaded yet, please do so before that date.
Structure
Mozilla has a JSON API backend for the marketplace; documentation can be found here: http://firefox-marketplace-api.readthedocs.io/en/latest/
For example, https://marketplace.cdn.mozilla.net/api/v2/feed/get/?cache=21600&dev=firefoxos&lang=en-US&limit=10®ion=fi&vary=0 displays all of the application data for the front page of the site.
From there we can take 2048 as an example, we can take the value of manifest_url, which gives us the URL to download the app: https://marketplace.firefox.com/app/d77a62a6-3128-471d-9f97-845d9772be04/manifest.webapp
The actual download URL is stored in the package_path value in the manifest, e.g. "package_path": "https://marketplace.firefox.com/downloads/file/264351/2048-1.7.zip".
To get the rest of the information of an app the value of the slug field can be used, eg: https://marketplace.firefox.com/api/v2/fireplace/app/2048~/?cache=1&dev=firefoxos&lang=en-US&limit=24®ion=fi&vary=0