1
by Duncan McGreggor
Added a simple API for launchpad.net. |
1 |
#!/usr/bin/env python
|
2 |
from lpapi.api import API |
|
3 |
||
4 |
||
5 |
# XXX obviously, this needs to be changed to accept command line paramters
|
|
6 |
api = API("burlington", debug=True) |
|
7 |
bugs = api.get_bugs( |
|
8 |
status="all", |
|
9 |
bug_reporter="oubiwann", |
|
10 |
created_since="2011-07-20 19:01:00") |
|
11 |
api.tag_bugs(bugs, "communications") |
|
12 |