Skip to content

Generate a Markdown file of your Holidays Calendar using Nylas Python SDK

License

Notifications You must be signed in to change notification settings

nylas-samples/python-holidays-generator

Repository files navigation

python-holidays-generator

This sample will show you to easily create a Markdown file for your Holidays Calendar using Nylas Python SDK.

You can follow along step-by-step in our Livestream "Holidays Calendar with Nylas APIs".

Setup

System dependencies

  • Python v3.x

Gather environment variables

You'll need the following values:

V3_API_KEY = ""
CALENDAR_ID = ""
GRANT_ID = ""
HOLIDAY_CALENDAR = ""

Add the above values to a new .env file:

$ touch .env # Then add your env variables

Install dependencies

$ pip3 install nylas

Usage

Run the script using the python3 command:

$ python3 Holidays_Generator.py year_we_want

Learn more

Visit our Nylas Python SDK documentation to learn more.

About

Generate a Markdown file of your Holidays Calendar using Nylas Python SDK

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages