/quickstart-contacts-python

Quickstart Contacts Guide for Python

Primary LanguagePythonMIT LicenseMIT

How to run

  1. Install the dependencies
pip3 install Flask, dotenv
  1. Run the project
python quickstart-contacts-python.py
  1. In the Nylas dashboard, create a new application and set the Google connector redirect URL to http://localhost:5000/oauth/exchange

  2. env variables

NYLAS_CLIENT_ID=""
NYLAS_API_KEY=""
NYLAS_API_URI="https://api.us.nylas.com"
  1. Open your browser and go to http://localhost:5000/nylas/auth and log in and end user account

  2. After authenticating an end user account, you can visit the following URLs to get a feel for some of what you can do with the Nylas Contacts API.

http://localhost:5000/nylas/list-contacts
http://localhost:5000/nylas/create-contact