Skip to content

nylas-samples/create_events_perl

Repository files navigation

create_events_perl

This sample will show you to easily create events using the Events Endpoint API.

Setup

Install Cpan Minus:

$ brew install cpanminus

Then install the following packages:

$ cpanm Mozilla::CA
$ cpanm Dotenv

Gather environment variables

You'll need the following values:

ACCESS_TOKEN=<ACCESS_TOKEN>
CALENDAR_ID=<CALENDAR_ID>

Add the above values to a new .env file:

$ touch .env # Then add your env variables

Usage

Run the app:

$ perl CreateEvent.pl

When you run it, it will display the newly created event

Learn more

Read the blog post How to Schedule Events with Any Calendar API

Visit our Nylas Calendar API documentation to learn more.

About

Create events using Perl

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages