Spotify

Music streaming

Go to site

Integrate the Spotify API with the Twitter Developer App API

Setup the Spotify API trigger to run a workflow which integrates with the Twitter Developer App API. Pipedream's integration platform allows you to integrate Spotify and Twitter Developer App remarkably fast. Free for developers.

GET /albums/{id}

Get an Album

 
Try it
GET /browse/categories/{category_id}

Get a Single Browse Category

 
Try it
GET /browse/categories/{category_id}/playlists

Get a Category's playlists

 
Try it
GET /browse/new-releases

Get a List of New Releases

 
Try it

Connect Spotify

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.spotify.com/v1/me`,
  headers: {
    Authorization: `Bearer ${auths.spotify.oauth_access_token}`,
  },
})

Connect Twitter Developer App

const Twit = require('twit')

const { api_key, api_secret_key, access_token, access_token_secret } = auths.twitter_developer_app

const T = new Twit({
  consumer_key: api_key,
  consumer_secret: api_secret_key,
  access_token,
  access_token_secret,
  timeout_ms: 60 * 1000,  // optional HTTP request timeout to apply to all requests.
  strictSSL: true,  // optional - requires SSL certificates to be valid.
})

return await T.get('account/verify_credentials', { skip_status: true })