Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.01 KB

File metadata and controls

26 lines (17 loc) · 1.01 KB

United Kingdom Police .NET Client

.NET CodeQL Analysis

The API provides a rich data source for information, including:

neighbourhood team members upcoming events street-level crime and outcome data nearest police stations

You can install it using the following .NET CLI command:

dotnet add package MikaelDui.UnitedKingdom.Police.Client --version *

Example

using PoliceClient client = new();

var crimes = await client.Crimes.GetStreetlevelCrimesAsync(51.375487, -0.096780);

foreach(var crime in crimes)
    Console.WriteLine(crime.Category);