~nhandler/ubtls/return-correct-info

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env python

app_name  = "Beginners Team Lookup"

##
## Don't edit below here unless you know what you are doing
############################################################

from ubtlib import UBTGlobals

from launchpadlib.launchpad import Launchpad
from launchpadlib.errors import HTTPError

import os
import sys

server    = 'edge'
cachedir  = os.path.expanduser("~/.launchpadlib/cache")

# launchpad = Launchpad.login_anonymously(app_name, server, cachedir)
launchpad = Launchpad.login_with(app_name, server)

team = launchpad.people[UBT_CANNON]