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.4.4.tar.gz
(4.7 kB
view details)
File details
Details for the file putio.py-2.4.4.tar.gz
.
File metadata
- Download URL: putio.py-2.4.4.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0bf78ff65ba249c7df7eb5fa5db3e208f69cf059798c1671f9f1d5b7c7f83a6 |
|
MD5 | 420aa4f1174e12d200fc02addafba67d |
|
BLAKE2b-256 | 8f18344113c6fdfc118a3c883b21eab4af5a2a5f841e683a5437703b8be75736 |