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
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
rtmilk-0.0.7.tar.gz
(8.8 kB
view details)
Built Distribution
File details
Details for the file rtmilk-0.0.7.tar.gz
.
File metadata
- Download URL: rtmilk-0.0.7.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b5b372cb11ace97ea374909c9653240d1d36386d9c15b41e472e53c300d12ab |
|
MD5 | 6d615d37cd85df1646c53610a1cffed0 |
|
BLAKE2b-256 | 1956f22ff8af7bdc9dd40759caf2a7503d63a48e246e841dd4abe2d829d25714 |
File details
Details for the file rtmilk-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: rtmilk-0.0.7-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa9b82809807085ff67a67204d705203cf1725d31618e84c3db1c95cf2b81756 |
|
MD5 | 80a9d65b50c223610f77504d64617af0 |
|
BLAKE2b-256 | 88975dabe1935865461ed033fd23d718d8aa34fe82e13f82992f6ce0a511a5b6 |