The National Environmental Public Health Tracking Network (Tracking Network) brings together health data and environmental data from national, state, and city sources and provides supporting information to make the data easier to understand.
Emit new event when a new message is posted in a channel
Emit new event when a new message is received in a chat
Emit new event when a new team is joined by the authenticated user
Create a new channel in Microsoft Teams. See the docs here
Get the list of shift instances for a team. See the documentation
Send a message to a team's channel. See the docs here
The CDC - National Environmental Public Health Tracking API provides access to a treasure trove of environmental and public health data. Harness this API to monitor trends, perform analyses, and spark proactive interventions. It's a goldmine for public health officials, researchers, and policy makers, offering data on air quality, water contaminants, climate change, and disease statistics. Leverage Pipedream's platform to automate data retrieval, gain insights, and connect with other services for a seamless data-driven decision-making process.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cdc_national_environmental_public_health_tracking: {
type: "app",
app: "cdc_national_environmental_public_health_tracking",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ephtracking.cdc.gov/apigateway/api/v1/contentareas/json`,
params: {
apiToken: `${this.cdc_national_environmental_public_health_tracking.$auth.api_token}`,
},
})
},
})
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}`,
},
})
},
})