Size: 229
Comment:
|
Size: 926
Comment: Mention API/Uses.
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
This page has a bunch of examples of how to use `launchpadlib` and the Python APIs. Think of it like a cookbook that you can add your favourite recipe to. If this duplicates [[API/launchpadlib|launchpadlib]] or [[API/Uses|API/Uses]] too much, then please merge or edit pages as needed. |
|
Line 6: | Line 10: |
Ever wanted to have Launchpad greet you by your own name? Now you can, in the comfort of your own home. {{{ #!python from launchpadlib.launchpad import Launchpad launchpad = Launchpad.login_with( 'hello-world', 'production') print 'Hello, %s!' % launchpad.me.display_name }}} The `hello-world` bit is the name of the application and `production` means connect to the production server. |
Launchpad Help > API > Examples
Contents |
This page has a bunch of examples of how to use launchpadlib and the Python APIs. Think of it like a cookbook that you can add your favourite recipe to.
If this duplicates launchpadlib or API/Uses too much, then please merge or edit pages as needed.
Hello Launchpad!
Ever wanted to have Launchpad greet you by your own name? Now you can, in the comfort of your own home.
The hello-world bit is the name of the application and production means connect to the production server.