Diff for "API"

Not logged in - Log In / Register

Differences between revisions 21 and 23 (spanning 2 versions)
Revision 21 as of 2008-08-30 20:40:42
Size: 1788
Editor: cpe-24-193-113-134
Comment:
Revision 23 as of 2009-04-01 02:16:56
Size: 1852
Editor: cpe-72-225-235-225
Comment: Link to new examples page.
Deletions are marked like this. Additions are marked like this.
Line 27: Line 27:
 * See our directory of [[API/Uses|code that uses the Launchpad APIs]] for examples.
Line 29: Line 31:
 * Everyone can appreciate the [[http://people.ubuntu.com/~flacoste/launchpad-api-doc.html|reference documentation]].  * Everyone can appreciate the [[http://edge.launchpad.net/+apidoc|reference documentation]].

Launchpad web services API

The Launchpad website lets you learn about and manage bugs, projects, questions, and other artifacts of software development. These same objects are gradually being exposed through a web service, so that you can access them from scripts, applications, or other websites, in addition to accessing them through the Launchpad website. The service is designed around the principles of REST, with the goals of simplicity and transparency.

The Launchpad web service is currently in a limited beta, open to Launchpad's beta testers.

  • Most users will be happy with launchpadlib, the official Python client library for Launchpad's web service.

   >>> me = launchpad.me
   >>> me.display_name = 'My new display name'
   >>> me.lp_save()
  • Users who aren't Python programmers, or who are interested in the inner workings of the web service, should read the hacking document.

   PATCH /beta/+me HTTP/1.1
   Host: api.edge.launchpad.net
   Content-type: application/json

   { "display_name" : "My new display name" }
  • See our directory of code that uses the Launchpad APIs for examples.

  • If you're writing your own interface to Launchpad, instead of using launchpadlib, you'll need to know how OAuth works. Signing Requests explains how to walk your end-users through the process of getting a set of OAuth credentials that you can use to make Launchpad web service requests on their behalf.

  • Everyone can appreciate the reference documentation.

  • When will the limited beta become an open beta? When will the open beta become a full release? The roadmap has the answers.

API (last edited 2023-07-06 08:24:58 by ines-almeida)