Skip to content

Canonip/TankerKoenig-dotNET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tankerkoenig-dotNet

NuGet AppVeyor AppVeyor tests

This is a Wrapper for the Tankerkoenig API for the .NET Framework.

Tankerkoenig is a website, with all Gas Stations in Germany and their prices provided by MTS-K (Markttransparenzstelle für Kraftstoffe)

Feel free to edit the Code and create a Pull Request!

Usage

Get yourself an API Key from Tankerkoenig here

Install TankerKoenig package

PM> Install-Package TankerKoenig

Create instance of TankerKoenigManager and search for Gas Stations in your Area.

string apikey = "00000000-0000-0000-0000-000000000000";
var manager = new TankerKoenigManager(apikey);

//Coordinates: 52.521, 13.438
//Search radius: 1.5km
var foundStations = await manager.SearchForGasStations(52.521, 13.438, 1.5);

About

Gas Price API Wrapper for German Gas Stations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages