Skip to content

A .Net client library for accessing the smart-me API

License

Notifications You must be signed in to change notification settings

eCarUp/smartme-api-client-library-dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smart-me logo Api Client Library for .Net

The smart-me Api Client Library enables you to integrate smart-me API functionality into your .Net application. It makes HTTP requests to the smart-me REST API (see here). All HTTP request and response bodies are mapped to .Net classes.

Examples

First you need a smart-me login which you can create here.

Console Application using Basic Authentication

See the Console Application Example project in Src/Example. Set your username and password in Credentials.json. Please keep your username and password private.

Web Application using OAuth2 Authentication

See the Web Application Example project in Src/OAuthWebExample. Set your OAuth2 client id and secret in appsettings.json. Contact us to provide you with a client id and secret. Please keep your client id and secret private.

Web Application using Openid Connect Authentication of an external IdP (identity provider)

See the Web Application Example project in Src/OidcWebExample. Set your Openid Connect client id, secret and authority in appsettings.json. See the description on how to setup an external Openid Connect identity provider using Okta. See the smart-me wiki on how to register the external Openid Connect identity provider.

Requirements

  • .Net Framework 4.7.2+
  • .Net Core 2.1+

About

A .Net client library for accessing the smart-me API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages