Diff for "API"

Not logged in - Log In / Register

Differences between revisions 7 and 11 (spanning 4 versions)
Revision 7 as of 2008-07-31 17:29:23
Size: 1189
Editor: cpe-24-193-113-134
Comment:
Revision 11 as of 2008-07-31 19:40:59
Size: 1485
Editor: cpe-24-193-113-134
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
Most users will be happy with [[API/launchpadlib| launchpadlib]], the official Python client library for Launchpad's web service.  * Most users will be happy with [[API/launchpadlib| launchpadlib]], the official Python client library for Launchpad's web service.
Line 11: Line 11:
Users who aren't Python programmers, or who are interested in the inner workings of the web service, should read [[API/Hacking| the hacking document]]. {{{
   >>> me = launchpad.people['my-username']
   >>> me.display_name = 'My new display name'
   >>> me.lp_save()
}}}
Line 13: Line 17:
If you're writing your own interface to Launchpad, you'll need to know how [[http://oauth.net/| Oauth]] works. [[API/SigningRequests| 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.  * Users who aren't Python programmers, or who are interested in the inner workings of the web service, should read [[API/Hacking| the hacking document]].
Line 15: Line 19:
Everyone will appreciate the reference documentation. (link forthcoming) {{{
   PATCH /beta/+me HTTP/1.1
   Host: api.edge.launchpad.net
   Content-type: application/json

   { "display_name" : "My new display name" }
}}}

 * If you're writing your own interface to Launchpad, you'll need to know how [[http://oauth.net/| Oauth]] works. [[API/SigningRequests| 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 will appreciate the reference documentation. (link forthcoming)

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 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.people['my-username']
   >>> 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" }
  • If you're writing your own interface to Launchpad, 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 will appreciate the reference documentation. (link forthcoming)

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