++++++++++++++++++++++++++++++++ api wrapper works for almost all of the new api ++++++++++++++++++++++++++++++++
for these functions to work you need to have a file with your basecamp user_id and password like this
user_id password
the file needs to be named bcnxt/new_bc/auth.txt
this is how the functions connect to your account
projects = new_bc.projects.get_all_projects(BCACCNT)
todos = new_bc.todo_lists.get_all_active_todo_lists(BCACCNT)
person = new_bc.people.get_person(BCACCNT,person_id)
me = new_bc.people.get_me(BCACCNT)
from new_bc.core import send_request,make_api_url,get_auth
response = send_request(make_api_url(BASECAMP_ACCOUNT_NUM,API_ARGS),get_auth())
from bcnxt import BaseCamp bc = BaseCamp() bc.auth = ('basecamp_id', 'basecamp_pw') bc.connect() => if connected returns true
bc.get_me() ie: me = bc.get_me()
print me['name'] => your name
todos = bc.get_my_todos()
messages = bc.get_my_messages()
projects = bc.get_my_projects()