Skip to content

nylas-samples/read_calendars_c_sharp

Repository files navigation

read_calendars_c_sharp

This sample will show you to easily read all your calendars using the Calendars Endpoint API.

Setup

$ mkdir read_calendars && cd read_calendars

$ dotnet new console

System dependencies

  • RestSharp
  • DotNetEnv

Gather environment variables

You'll need the following values:

ACCESS_TOKEN = ""

Add the above values to a new .env file:

$ touch .env # Then add your env variables

Compilation

To compile the comment we need to use this dotnet command:

$ dotnet run --project read_calendars.csproj

Usage

Run the app:

$ ./bin/Debug/net6.0/read_calendars

When you run it, it will display all your calendars and wait for a keystoke to end

Learn more

Visit our Nylas Calendar API documentation to learn more.

About

Read calendars using C# and the Nylas APIs

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages