michielpost / onlineafspraken.nl

C# SDK for onlineafspraken.nl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build .NET

onlineafspraken.nl

C# SDK for onlineafspraken.nl
Not all API methods are implemented, currently available:

  • GetAgendas
  • GetAppointments
  • GetCustomers
  • GetCustomer

PRs to add more API calls are welcome

Available on NuGet: https://www.nuget.org/packages/OnlineAfspraken.nl/

How To Use

See the included API Tester.

Create a new OnlineAfsprakenClient

var client = new OnlineAfsprakenClient(apiKey, apiSecret);

Use the client

var agendas = await client.GetAgendas();

//All appointments for the coming year
var afspraken = await client.GetAppointments(agendaId, DateTimeOffset.UtcNow, DateTime.UtcNow.AddYears(1));

 //All customers that have been updated in the last year
var customers = await client.GetCustomers(DateTime.UtcNow.AddYears(-1));

 //Get a single customer
var singleCustomer = await client.GetCustomer(customerId);

References

https://onlineafspraken.nl/nl_NL/developers

About

C# SDK for onlineafspraken.nl

License:MIT License


Languages

Language:C# 100.0%