import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
data_police_uk: {
type: "app",
app: "data_police_uk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://data.police.uk/api/forces`,
})
},
})
Get a list of police forces and contact information within a particular area. See the docs here
Access the specific outcomes of reported crimes within a given location and date range. See the docs here
Obtain crime data for a specific location and date range. See the docs here
Data.Police.UK uses API keys for authentication. When you connect your Data.Police.UK account, Pipedream securely stores the keys so you can easily authenticate to Data.Police.UK APIs in both code and no-code steps.
The Data.Police.UK API does not enforce authentication.