This demo showcases how to use the Nylas Notetaker API to create, manage, and interact with notes.
- Creating new notes
- Retrieving notes
- Updating notes
- Deleting notes
- Managing note metadata
- Sharing notes with other users
- Python 3.8+
- Nylas Python SDK (local version from this repository)
- Nylas API credentials (Client ID and Client Secret)
- Install the SDK in development mode:
# From the root of the nylas-python repository
pip install -e .
- Set up your environment variables:
export NYLAS_API_KEY='your_api_key'
export NYLAS_API_URI='https://api.nylas.com' # Optional, defaults to https://api.nylas.com
From the root of the repository:
python examples/notetaker_api_demo/notetaker_demo.py
The demo includes examples of:
- Creating a new note
- Retrieving a list of notes
- Updating an existing note
- Deleting a note
- Managing note metadata
- Sharing notes with other users
Each example is documented with comments explaining the functionality and expected output.