Skip to main content

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


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.1.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file putio.py-2.4.1.tar.gz.

File metadata

  • Download URL: putio.py-2.4.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for putio.py-2.4.1.tar.gz
Algorithm Hash digest
SHA256 922e4f803acd30c65254800c6ef9d8fa7a6d171364f9ce8784b1489946c97e44
MD5 a849a306d8e1c079eadce78bfdc9c3b2
BLAKE2b-256 40719994065cfd1e740d1eed0218ffcc8e7ced060abdd5f7e4fe3808317a720b

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page