pycloudapp
a wrapper around the CloudApp api.
Note that this project is dead because I started using droplr.
Requirements
- Python >= 2.5
- In order to upload files you need to have:
Both of these are available in pypi.
Installation
>>> pip install -e git+git://github.com/originell/pycloudapp.git#egg=cloudapp
HowTo
>>> from cloudapp.cloud import Cloud >>> mycloud = Cloud() >>> mycloud.auth('yourusername', 'yourpassword') >>> mycloud.list_items() >>> mycloud.list_items(page=1, per_page=2) >>> mycloud.item_info('http://cl.ly/someID') >>> bookmark = mycloud.create_bookmark('origiNell', 'http://www.originell.org/') >>> print bookmark >>> print bookmark['href'] >>> mycloud.delete_file(bookmark['href'])
License
See LICENSE.