Data.Police.UK

Open data about crime and policing in England, Wales and Northern Ireland.

Integrate the Data.Police.UK API with the Gmail API

Setup the Data.Police.UK API trigger to run a workflow which integrates with the Gmail API. Pipedream's integration platform allows you to integrate Data.Police.UK and Gmail remarkably fast. Free for developers.

Send Email with Gmail API on New Crime Reported from Data.Police.UK API
Data.Police.UK + Gmail
 
Try it
Send Email with Gmail API on New Street Level Crime Updated from Data.Police.UK API
Data.Police.UK + Gmail
 
Try it
New Crime Reported from the Data.Police.UK API

Emit new event when a new crime is reported in a specific area.

 
Try it
New Street Level Crime Updated from the Data.Police.UK API

Emit new event when a specific street level crime is updated.

 
Try it
Fetch Forces with the Data.Police.UK API

Get a list of police forces and contact information within a particular area. See the docs here

 
Try it
Send Email with the Gmail API

Send an email from your Google Workspace email account

 
Try it
Obtain Crime Outcomes with the Data.Police.UK API

Access the specific outcomes of reported crimes within a given location and date range. See the docs here

 
Try it
Retrieve Crime Data with the Data.Police.UK API

Obtain crime data for a specific location and date range. See the docs here

 
Try it

Overview of Data.Police.UK

The Data.Police.UK API provides access to a wide array of UK crime data, allowing users to query information about street-level crimes, outcomes, and the location of police stations. You can leverage this data within Pipedream to build automated workflows that react to new data, analyze crime trends, or integrate with other services to enhance public awareness and safety. With Pipedream, you can create serverless workflows that connect Data.Police.UK API with other apps to streamline tasks, generate reports, or trigger alerts based on crime data.

Connect Data.Police.UK

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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`,
    })
  },
})

Overview of Gmail

By connecting your personal Gmail account to Pipedream, you'll be able to incorporate email into whatever you're building with any of the thousands of apps that are available on Pipedream.

Connect Gmail

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    gmail: {
      type: "app",
      app: "gmail",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.googleapis.com/oauth2/v1/userinfo`,
      headers: {
        Authorization: `Bearer ${this.gmail.$auth.oauth_access_token}`,
      },
    })
  },
})