A simple Opisense API Client in a .Net C# Console
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
opisense-sample-dotnet-console
.gitignore
LICENSE
NuGet.Config
README.md
opisense-sample-dotnet-console.sln

README.md

opisense-sample-dotnet-console

A simple Opisense API Client in a .Net C# Console

Setup

  1. Contact Opisense support team for the setup of the application and the user you would like to use

  2. Create a file named appSettings.config next to the App.config file with the following structure:

  <?xml version="1.0" encoding="utf-8"?>
  <appSettings>
    <add key="OpisenseApi" value="https://api.opinum.com/"/>
    <add key="OpisenseIdentity" value="http://identity.opinum.com/"/>
    <add key="OpisensePush" value="http://push.opinum.com/api/"/>
    <add key="OpisenseUsername" value="[YOUR USERNAME]"/>
    <add key="OpisensePassword" value="[PASSWORD OF THE USER]"/>
    <add key="OpisenseClientId" value="[CLIENT ID]"/>
    <add key="OpisenseClientSecret" value="[CLIENT SECRET]"/>
    <add key="DefaultTimezone" value="Romance Standard Time"/>
  </appSettings>