A Python 3 package providing a very limited and experimental API client for Amazing Marvin.
- Retrieve some information about your account (
AmazingMarvinAPI.me
) - Get tasks and projects scheduled for today (
AmazingMarvinAPI.today_items
)
pip install git+https://github.com/ustuehler/py-amazing-marvin
To use this package, you must have an active subscription and API token for Amazing Marvin.
Example:
import os
from amazing_marvin import AmazingMarvinAPI
# Get your API token from somewhere
api_token = os.environ['AMAZING_MARVIN_API_TOKEN']
# Create an instance of the experimental API client
client = AmazingMarvinAPI(api_token)
# Retrieve some information about your account
client.me()
# Get tasks and projects scheduled for today
client.today_items()
See the Contributing Guide for instructions on how to set up a local environment for development and testing.