How to use / access the Gmail API from C# Windows 8

Download the code here – https://github.com/ismaelc/GmailAPI-Windows8-OAuth

This Windows 8 (C#/XAML) code demonstrates:

Getting an access token for the Gmail API using OAuth 2.0
Calling Gmail API (Get messages IDs)

Using the code:

This C#/XAML sample code is a modified version of another LinkedIn OAuth sample code. It’s re-targeted for Windows 8.1 using Microsoft Visual Studio Express 2013 for Windows.

To use this code, you need to set up your Gmail API credentials from the Google Developer Console. Check out these instructions on how to set up your account, and get your Client ID and Client Secret keys – https://github.com/ismaelc/GmailAPI-Windows8-OAuth

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s