Skip to main content

Python Distribution Utilities

Project description

Welcome to Astrid Python API's documentation!
*********************************************

Contents:

class class astrid.AstridAPI(conf)

Connect to the Astrid Tasks API and issue requests to a specific
user's account.

Python Astrid API lives at https://bitbucket.org/dusty/python-
astrid/ and documentation is available at https://python-
astrid.readthedocs.org/

Parameters:
**conf** -- a dictionary of configuration values for connecting
to the API.

The conf dictionary must contain:

{
"apikey": "<astrid api key>",
"apisecret": "<astrid api secret>",
"email": "you@example.com", # your astrid e-mail
"password": "<astrid password>"
}

The apikey and secret can come from http://astrid.com/api_keys

The user associated with the email and password provided in the
configuration dictionary will be automatically signed in. The token
received from signin is stored on the class and automatically sent
with future requests.

request(method, **params)

Send a request to the astrid API. The available methods and
their parameters are described in
http://astrid.com/apidoc/ApiController.html

This method does the necessary work to create an astrid
signature line as required by the API. It then issues the
request in the format Astrid expects.

Parameters:
* **method** -- the method name to call in the Astrid API

* **params** -- keyword arguments mapping parameters to
values as required by the *method*

Returns:
json decoded response of your Astrid API request

Return type:
dict

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-astrid-0.1.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file python-astrid-0.1.tar.gz.

File metadata

  • Download URL: python-astrid-0.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python-astrid-0.1.tar.gz
Algorithm Hash digest
SHA256 d721357ec212235d32c2f7853adecfd4fdbd1748e847b79392170ce1812cfe90
MD5 007f4f12933e90762169df8aa200c708
BLAKE2b-256 6939ffa984a87810f816e3eba509b1a75dd1fc96e65c12547097d2859873f93b

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