CDN, DDoS mitigation, Internet security, and DNS services
Emit new event when a new playlist is created or followed by the current Spotify user.
Emit new event for each new track saved to the current Spotify user's Music Library.
Emit new event for each new Spotify track related with an artist. see docs here
Emit new event for each new Spotify track added to a playlist
Development Mode temporarily allows you to enter development mode for your websites if you need to make changes to your site. This will bypass Cloudflare's accelerated cache and slow down your site. See the docs here
Add one or more items to a user’s playlist. See the docs here.
Choose the appropriate SSL setting for your zone. See the docs here
Create a playlist for a Spotify user. The playlist will be empty until you add tracks. See the docs here.
Creates an Origin CA certificate. See the docs here
Cloudflare provides a powerful API that you can use to manage your DNS
settings,Crypto settings, and more.Here are some examples of what you can do
with the Cloudflare API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cloudflare_api_key: {
type: "app",
app: "cloudflare_api_key",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cloudflare.com/client/v4/user`,
headers: {
"X-Auth-Key": `${this.cloudflare_api_key.$auth.API_Key}`,
"X-Auth-Email": `${this.cloudflare_api_key.$auth.Email}`,
},
})
},
})
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}`,
},
})
},
})