POLICE UK Data access API from POWER BI

  Kiến thức lập trình

I am trying to get access to Police data using API
https://data.police.uk/docs/method/crime-street/
and then
https://data.police.uk/api/crimes-street/all-crime?lat=52.629729&lng=-1.131592&date=2017-01
for example but it is not working when “Get data -> WEB -> then pasting https://data.police.uk/api/crimes-street/all-crime?lat=52.629729&lng=-1.131592&date=2017-01”
I am getting the error:

Details: “Web.Contents failed to get contents from ‘https://data.police.uk/api/crimes-street/all-crime?lat=52.629729&lng=-1.131592&date=2017-01’ (404): NOT FOUND”

This is what I found in the police API documentation:

The Police API no longer requires authentication.

Responses
If a request succeeds, the API will return a 200 status code.

If a request fails, the API will return a non-200 status code.

New contributor

user8216057 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT