Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.
Create a new channel in Microsoft Teams. See the docs here
Allows the user to generate a new check-in at a specific location on Foursquare. See the documentation
Allows the user to create a new tip for a venue on Foursquare. See the documentation
Get the list of shift instances for a team. See the documentation
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 Foursquare API empowers developers to tap into rich data about venues, user check-ins, and location-based experiences. On Pipedream, you can harness this API to automate tasks such as fetching venue recommendations based on user preferences, keeping a log of customer visits to your business, or integrating location insights into your CRM. Combining Foursquare data with other services on Pipedream allows you to create powerful, location-aware business solutions without the heavy lifting of manual data handling.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
foursquare: {
type: "app",
app: "foursquare",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.foursquare.com/v2/users/self`,
headers: {
Authorization: `Bearer ${this.foursquare.$auth.oauth_access_token}`,
},
params: {
oauth_token: `${this.foursquare.$auth.oauth_access_token}`,
"v": `20191001`,
},
})
},
})