UNKNOWN
Project description
Simple wrapper for Put.io API v2.
Installing
putio.py is available on PyPI.
$ pip install putio.py
Usage
import putio
helper = putio.AuthHelper(CLIENT_ID, CLIENT_SECRET, \
CALLBACK_URL, type='token')
# this will open a browser to authetication url
# after authenticating you will find the oauth_token in the address bar
helper.open_authentication_url()
client = putio.Client(OAUTH_TOKEN)
# list files
files = client.File.list()
# add a new transfer
client.Transfer.add_url('http://example.com/good.torrent')
# read the code for other methods.
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
putio.py-2.3.0.tar.gz
(3.6 kB
view details)
File details
Details for the file putio.py-2.3.0.tar.gz
.
File metadata
- Download URL: putio.py-2.3.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d82d11e6657362c5623907866def6ade27975627749d36c3bdc8fb390ec57b6 |
|
MD5 | e4b8b2afe9df07176e33c3237b534209 |
|
BLAKE2b-256 | c78fd3dea1579806bea115fec85aafa556c30c4fbf15d60ea43c71267b086ef5 |