mozilla

Revision 130844 of addons.mozilla.org (AMO) API Developers' Guide

  • Revision slug: addons.mozilla.org_(AMO)_API_Developers'_Guide
  • Revision title: addons.mozilla.org (AMO) API Developers' Guide
  • Revision id: 130844
  • Created:
  • Creator: laurathomson
  • Is current revision? No
  • Comment 300 words added
Tags: 

Revision Content

Introduction

The AMO API provides an interface to AMO for your web or other applications.  The API supports REST andresponses are returned in XML format.

Currently there are two components to the API:

The generic AMO API
This is the set of API calls used by the Firefox Add-ons manager.  It is currently read only.  It allows you to retrieve data about a single addon, groups of addons, or to search addons.  This API does notrequire authentication or an API key for use.
The Bandwagon API
The Bandwagon API allows you to interact with Add-ons Collections.  This is a read/write API.  It requires authentication using your existing AMO account.
== Terms of Use ==
[link]

== The generic AMO API ==
=== URL Format ===API calls are served via
https://services.addons.mozilla.org/api/

You may localize the returned content by adding a locale string to this URL as follows:
http://services.addons.mozilla.org/[locale]/apifor example
https://services.addons.mozilla.org/en-US/api
https://services.addons.mozilla.org/de/api

The API is versioned.  For all calls, the first parameter is the API version.  This is optional, and if it is not supplied, the version defaults to 0. This is maintained for compatibility with older versions of Firefox, but may give you some unexepcted behavior, so be sure to specify the current API version.

The current API version is 1.3.

All API calls only return public addons at present.

Revision Source

<h2>Introduction</h2>
<p>The AMO API provides an interface to AMO for your web or other applications.  The API supports REST andresponses are returned in XML format.</p>
<p>Currently there are two components to the API:</p>
<dl> <dt>The generic AMO API</dt> <dd>This is the set of API calls used by the Firefox Add-ons manager.  It is currently read only.  It allows you to retrieve data about a single addon, groups of addons, or to search addons.  This API does notrequire authentication or an API key for use.</dd> <dt>The Bandwagon API</dt> <dd>The Bandwagon API allows you to interact with Add-ons Collections.  This is a read/write API.  It requires authentication using your existing AMO account.</dd>
</dl> == Terms of Use ==<br>
[link]<br>
<br>
== The generic AMO API ==<br>
=== URL Format ===API calls are served via<br>
<a class=" link-https" href="https://services.addons.mozilla.org/api/" rel="freelink">https://services.addons.mozilla.org/api/</a><br>
<br>
You may localize the returned content by adding a locale string to this URL as follows:<br>
<a class=" external" href="http://services.addons.mozilla.org/" rel="freelink">http://services.addons.mozilla.org/</a>[locale]/apifor example<br>
<a class=" link-https" href="https://services.addons.mozilla.org/en-US/api" rel="freelink">https://services.addons.mozilla.org/en-US/api</a><br>
<a class=" link-https" href="https://services.addons.mozilla.org/de/api" rel="freelink">https://services.addons.mozilla.org/de/api</a><br>
<br>
The API is versioned.  For all calls, the first parameter is the API version.  This is optional, and if it is not supplied, the version defaults to 0. This is maintained for compatibility with older versions of Firefox, but may give you some unexepcted behavior, so be sure to specify the current API version.<br>
<br>
The current API version is 1.3.<br>
<br>
All API calls only return public addons at present.
Revert to this revision