Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

jfversluis/OverheidioApi.Net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OverheidioApi.Net Build status NuGet version

A C#/.net wrapper for the Overheid.io API (only KvK data for now)

Getting started

Just create a new OverheidioClient with your own API key. API keys are available on overheid.io check the rest of the API documentation here (in Dutch)

var _overheidioClient = new OverheidioClient("w98ef7e7w98fds789f9d8s7fd7");

Now you can start getting data.

FindCorporations

This method provides you with the functionality to perform search operations on the dataset. Check out the IntelliSense for the options on limiting your find results.

var resultCorporations = await client.Find();

foreach (var r in resultCorporations.Results.Corporations)
{
    Console.WriteLine(r.Tradename);
}

GetCorporation

Gets the details from a specific Corporation by the dossiernumber and subdossiernumber

var oneResult = await client.GetCorporation("24237338", "0000");
Console.WriteLine(oneResult.Tradename + " " + oneResult.Street);

GetSuggestions

Provides autocomplete suggestions based on the entered query

var suggestions = await client.GetSuggestions("Verslu");

Console.WriteLine("Suggestions " + suggestions.Tradenames.Length + " " + suggestions.Streets.Length);

FindVehicles

This method provides you with the functionality to perform search operations on the dataset. Check out the IntelliSense for the options on limiting your find results.

var resultVehicles = await client.Find();

foreach (var r in resultVehicles.Results.Vehicles)
{
    Console.WriteLine(r.Brand);
}

GetVehicle

Gets the details from a specific Vehicle by licenseplate

var oneResult = await client.GetVehicle("4-TFL-24");
Console.WriteLine(oneResult.Brand);

About

A C#/.net wrapper for the Overheid.io API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages