Almost complete warapper around the Basecamp API.
Project description
Basecamp Python Client
======================
Description
-----------
This module provides an (almost) complete wrapper around the Basecamp API
(http://developer.37signals.com/basecamp/). It is written in Python and
based upon the excellent ElementTree package
(http://effbot.org/zone/element-index.htm).
Licended under the MIT License
Usage
-----
<pre>
# Import ElementTree and the Basecamp module.
import elementtree.ElementTree as ET
from basecamp import Basecamp
bc = Basecamp('https://example.basecamphq.com', 'API_KEY')
# Fetch one todo list from its ID
xml = bc.todo_list(14499317)
items = ET.fromstring(xml).findall('todo-items/todo-item')
# Let's use the ElementTree API to access data via path expressions:
for item in items:
print item.find("content").text
</pre>
Original Code
-------------
This code is built from the code of Quentin Pleplé (http://qpleple.com/) forked from github at (https://github.com/qpleple/basecamp-python-client)
Which code is built from the code of Jochen Kupperschmidt <webmaster@nwsnet.de> (see http://homework.nwsnet.de/products/3cd4) under the MIT Licence.
And added some suggestions from Greg Allard (see http://codespatter.com/2009/04/01/getting-basecamp-api-working-with-python).
======================
Description
-----------
This module provides an (almost) complete wrapper around the Basecamp API
(http://developer.37signals.com/basecamp/). It is written in Python and
based upon the excellent ElementTree package
(http://effbot.org/zone/element-index.htm).
Licended under the MIT License
Usage
-----
<pre>
# Import ElementTree and the Basecamp module.
import elementtree.ElementTree as ET
from basecamp import Basecamp
bc = Basecamp('https://example.basecamphq.com', 'API_KEY')
# Fetch one todo list from its ID
xml = bc.todo_list(14499317)
items = ET.fromstring(xml).findall('todo-items/todo-item')
# Let's use the ElementTree API to access data via path expressions:
for item in items:
print item.find("content").text
</pre>
Original Code
-------------
This code is built from the code of Quentin Pleplé (http://qpleple.com/) forked from github at (https://github.com/qpleple/basecamp-python-client)
Which code is built from the code of Jochen Kupperschmidt <webmaster@nwsnet.de> (see http://homework.nwsnet.de/products/3cd4) under the MIT Licence.
And added some suggestions from Greg Allard (see http://codespatter.com/2009/04/01/getting-basecamp-api-working-with-python).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
basecamp-0.0.12.tar.gz
(6.7 kB
view details)
Built Distribution
basecamp-0.0.12-py2.7.egg
(13.5 kB
view details)
File details
Details for the file basecamp-0.0.12.tar.gz
.
File metadata
- Download URL: basecamp-0.0.12.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd1936b61285e6b94bee29f7c643017b18aa41eefce59d63ca71193acff7e941 |
|
MD5 | b26666b03b81d6660d4a1a19d14656a0 |
|
BLAKE2b-256 | 5a4fe5b371d610470674db0e9cfcdf73acece28737e29e10a862262c6fa93bca |
File details
Details for the file basecamp-0.0.12-py2.7.egg
.
File metadata
- Download URL: basecamp-0.0.12-py2.7.egg
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 298f315e36c27d471b224193c62088f0b853d2b237e70ad71ddf40c104af576f |
|
MD5 | 8fa6287b517ea56e64bd445958b95ecb |
|
BLAKE2b-256 | bdcdea2f6cb3c885c41381d03312b9b90dc133e458c362801aadf6f0afc55cec |