api-proxy-gmail 1.0.0

dotnet add package api-proxy-gmail --version 1.0.0
NuGet\Install-Package api-proxy-gmail -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="api-proxy-gmail" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add api-proxy-gmail --version 1.0.0
#r "nuget: api-proxy-gmail, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install api-proxy-gmail as a Cake Addin
#addin nuget:?package=api-proxy-gmail&version=1.0.0

// Install api-proxy-gmail as a Cake Tool
#tool nuget:?package=api-proxy-gmail&version=1.0.0

api-proxy-gmail: A .Net proxy wrapper for the Gmail API

Please note that this is not intended to be a comprehensive coverage of the Gmail API I only included what I needed when I wrote it.

If there are things you need feel free to contribute

Authentication:

Gmail uses oAuth2 for authentication. To configure a gmail account to be accessed through the API you will need to go to the Google API documententation and configure it in the Google API Console. You can also use this Quickstart Guide. In either case you will generate a credential file for your application. When you application is launched if a token has not already been generated, the user will be prompted to log into the gmail account and authorize the application for access and then a token file is generated and stored for the application.

Usage:

  • All usage is governed through the DataManager class
  • DataManager expects a GmailApiConfiguration object to be injected that contains the path to the credential file generated above, the application name, and the rights to the gmail account that you are requesting.
var dm = new DataManager(new GmailApiConfiguration
{ 
  ApplicationName=*your application*, 
  PathToCredentialFile=*path to credentials.json*,
  Rights= new List<Right>{ *rights you wish to grant* }
});
var courses = dm.GetInboxEmails();

please let me know if you have questions Jason D Wilson

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 416 12/2/2020