Solar resource assessment and forecasting data for irradiance and PV power, globally.
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 Solcast API offers solar energy forecasting and historical solar data, enabling developers to integrate accurate solar radiation, PV power output, and weather data into their applications. With the Solcast API on Pipedream, you can automate data retrieval for solar project planning, performance monitoring, and energy system integration. Pipedream's serverless platform means you can set up workflows that respond to various triggers to process and act on Solcast data in real-time, without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
solcast: {
type: "app",
app: "solcast",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.solcast.com.au/data/forecast/radiation_and_weather`,
headers: {
Authorization: `Bearer ${this.solcast.$auth.api_key}`,
"Accept": `application/json`,
},
params: {
latitude: `-33.856784`,
longitude: `151.215297`,
output_parameters: `air_temp,dni,ghi`,
},
})
},
})
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}`,
},
})
},
})