Music streaming
Emit new event when a new playlist is created or followed by the current Spotify user.
Emit new event each time a Telegram Bot command is received.
Emit new event for each new track saved to the current Spotify user's Music Library.
Emit new event each time a channel post is created or updated.
Emit new event for each new Spotify track related with an artist. see docs here
Add one or more items to a user’s playlist. See the docs here.
Create an additional invite link for a chat, See the docs for more information
Create a playlist for a Spotify user. The playlist will be empty until you add tracks. See the docs here.
Get a list of Spotify playlists tagged with a particular category. See the docs here.
Assuming you have a Spotify Developer account (https://developer.spotify.com/), you can use the Spotify API to build the following:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
spotify: {
type: "app",
app: "spotify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.spotify.com/v1/me`,
headers: {
Authorization: `Bearer ${this.spotify.$auth.oauth_access_token}`,
},
})
},
})
With the Telegram Bot API, you can build bots that perform a variety of tasks,
including:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
telegram_bot_api: {
type: "app",
app: "telegram_bot_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.telegram.org/bot${this.telegram_bot_api.$auth.token}/getMe`,
})
},
})