Skip to main content

RTM API wrapper

Project description

Python wrapper for "Remember the Milk" API

Usage

from rtmmilk import API, RTMError

api = API(API_KEY, SHARED_SECRET, TOKEN)

timeline = api.TasksCreateTimeline().timeline
try:
    api.TasksAdd(timeline, 'task name')
except RTMError as e:
    print(e)

Authorization

from rtmmilk import AuthorizationSession

authenticationSession = AuthorizationSession(API_KEY, SHARED_SECRET, 'delete')
input(f"Go to {authenticationSession.url} and authorize. Then Press ENTER")
token = authenticationSession.Done()
print(f'Authorization token is {token}')

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

rtmilk-0.0.6.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

rtmilk-0.0.6-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file rtmilk-0.0.6.tar.gz.

File metadata

  • Download URL: rtmilk-0.0.6.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Darwin/20.5.0

File hashes

Hashes for rtmilk-0.0.6.tar.gz
Algorithm Hash digest
SHA256 d86ac5ad40069c7f0f41d09f15d49742429212e90f1ed45d3e7f76fa644432b5
MD5 910798e4b9bff1644a41bb7becbc441c
BLAKE2b-256 1d764460ae0a6e333db8636f7a951f073665a27926d599bff416d67de26fd38d

See more details on using hashes here.

File details

Details for the file rtmilk-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: rtmilk-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Darwin/20.5.0

File hashes

Hashes for rtmilk-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ef78d95fc5ed3936decd3f5cb2e3283b1e6f4e41101edfa4d74d58a0f9c6261d
MD5 7d76e34d8e0e0a5d3c57d0002537acf5
BLAKE2b-256 84e58c8d6f40c475a1966bfea450e81b0c2594b5157eb673d8732c0345a05b0a

See more details on using hashes here.

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