Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Latest commit

 

History

History
47 lines (34 loc) · 1.06 KB

README.rst

File metadata and controls

47 lines (34 loc) · 1.06 KB

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.