https://github.com/mikaeldui/united-kingdom-police-dotnet-client
Open data about crime and policing in England, Wales and Northern Ireland.
https://github.com/mikaeldui/united-kingdom-police-dotnet-client
dotnet-client police united-kingdom
Last synced: about 2 months ago
JSON representation
Open data about crime and policing in England, Wales and Northern Ireland.
- Host: GitHub
- URL: https://github.com/mikaeldui/united-kingdom-police-dotnet-client
- Owner: mikaeldui
- License: unlicense
- Created: 2022-11-11T01:27:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-12T00:20:22.000Z (over 2 years ago)
- Last Synced: 2025-03-02T15:44:56.486Z (3 months ago)
- Topics: dotnet-client, police, united-kingdom
- Language: C#
- Homepage: https://data.police.uk/
- Size: 153 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# United Kingdom Police .NET Client
[](https://github.com/mikaeldui/united-kingdom-police-dotnet-client/actions/workflows/dotnet.yml)
[](https://github.com/mikaeldui/united-kingdom-police-dotnet-client/actions/workflows/codeql-analysis.yml)The API provides a rich data source for information, including:
neighbourhood team members
upcoming events
street-level crime and outcome data
nearest police stationsYou can install it using the following **.NET CLI** command:
dotnet add package MikaelDui.UnitedKingdom.Police.Client --version *
## Example
```csharp
using PoliceClient client = new();
var crimes = await client.Crimes.GetStreetlevelCrimesAsync(51.375487, -0.096780);
foreach(var crime in crimes)
Console.WriteLine(crime.Category);
```