Skip to main content

Python client for put.io API v2

Project description

Simple wrapper for Put.io API v2.

Installing

putio.py is available on PyPI.

$ pip install putio.py

Usage

import putiopy

helper = putiopy.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 = putiopy.Client(OAUTH_TOKEN)

# list files
files = client.File.list()

# add a new transfer
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-8.8.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

putio_py-8.8.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file putio_py-8.8.0.tar.gz.

File metadata

  • Download URL: putio_py-8.8.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.2

File hashes

Hashes for putio_py-8.8.0.tar.gz
Algorithm Hash digest
SHA256 f9a40959f730d0af9c6fe5c9f1dae123a4cd6b2a82f57928a1890b05fb73b4c2
MD5 8cffefdd68136299a7915cfe91131b30
BLAKE2b-256 a62a52bc4e441b680f3d50921e7142d54c8ff39a04cc13cfa1f2aca8301b24c6

See more details on using hashes here.

File details

Details for the file putio_py-8.8.0-py3-none-any.whl.

File metadata

  • Download URL: putio_py-8.8.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.2

File hashes

Hashes for putio_py-8.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b7aafca64bed956dd3ce6c1c612558ee1b8a26eb77afa04c8ee43abb7afc29c
MD5 416dab60b8e3962caeadbe7953447b4e
BLAKE2b-256 c15366b94e95ad7eaf151284ee4551441beb4a763d337f507e03e74d831e559b

See more details on using hashes here.

Supported by

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