Data.Police.UK

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

Integrate the Data.Police.UK API with the OpenAI (ChatGPT) API

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

Chat with OpenAI (ChatGPT) API on New Crime Reported from Data.Police.UK API
Data.Police.UK + OpenAI (ChatGPT)
 
Try it
Chat with OpenAI (ChatGPT) API on New Street Level Crime Updated from Data.Police.UK API
Data.Police.UK + OpenAI (ChatGPT)
 
Try it
Summarize Text with OpenAI (ChatGPT) API on New Crime Reported from Data.Police.UK API
Data.Police.UK + OpenAI (ChatGPT)
 
Try it
Summarize Text with OpenAI (ChatGPT) API on New Street Level Crime Updated from Data.Police.UK API
Data.Police.UK + OpenAI (ChatGPT)
 
Try it
Classify Items into Categories with OpenAI (ChatGPT) API on New Crime Reported from Data.Police.UK API
Data.Police.UK + OpenAI (ChatGPT)
 
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
New File Created from the OpenAI (ChatGPT) API

Emit new event when a new file is created in OpenAI. See the documentation

 
Try it
New Fine Tuning Job Created from the OpenAI (ChatGPT) API

Emit new event when a new fine-tuning job is created in OpenAI. See the documentation

 
Try it
New Run State Changed from the OpenAI (ChatGPT) API

Emit new event every time a run changes its status. See the documentation

 
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
Chat with the OpenAI (ChatGPT) API

The Chat API, using the gpt-3.5-turbo or gpt-4 model. See docs here

 
Try it
Summarize Text with the OpenAI (ChatGPT) API

Summarizes text using the Chat API

 
Try it
Classify Items into Categories with the OpenAI (ChatGPT) API

Classify items into specific categories using the Chat API

 
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

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 OpenAI (ChatGPT)

OpenAI provides a suite of powerful AI models through its API, enabling developers to integrate advanced natural language processing and generative capabilities into their applications. Here’s an overview of the services offered by OpenAI's API:

Use Python or Node.js code to make fully authenticated API requests with your OpenAI account:

Connect OpenAI (ChatGPT)

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: {
    openai: {
      type: "app",
      app: "openai",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.openai.com/v1/models`,
      headers: {
        Authorization: `Bearer ${this.openai.$auth.api_key}`,
      },
    })
  },
})