Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.
Emit new event when a new crime is reported in a specific area.
Emit new event when a specific street level crime is updated.
Emit new event when a new message is posted in a channel
Create a new channel in Microsoft Teams. See the docs here
Get a list of police forces and contact information within a particular area. See the docs here
Get the list of shift instances for a team. See the documentation
Access the specific outcomes of reported crimes within a given location and date range. See the docs here
The Microsoft Teams API on Pipedream allows you to automate tasks, streamline communication, and integrate with other services to enhance the functionality of Teams as a collaboration hub. With this API, you can send messages to channels, orchestrate complex workflows based on Teams events, and manage Teams' settings programmatically.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_teams: {
type: "app",
app: "microsoft_teams",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/me`,
headers: {
Authorization: `Bearer ${this.microsoft_teams.$auth.oauth_access_token}`,
},
})
},
})
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.
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`,
})
},
})