@honkandgo/spotifyads

1.4.3 • Public • Published

spotifyads

Access Spotify Ads REST API (json based) from Node.js.

Install

npm -i @honkandgo/spotifyads

Use

import SpotifyAdsClient from '@honkandgo/googleads'

const spotifyads = new SpotifyAdsClient({
	clientId: <SPOTIFY_CLIENT_ID>
	clientSecret: <SPOTIFY_CLIENT_SECRET>
	refreshToken: <REFRESH_TOKEN> (optional)
})

Passing refreshToken in constructor is optional. You can also pass refreshToken as a parameter to any method

const refreshToken = ...
const accountId = ...
const campaigns = await spotifyads.getCampaignsByAdAccount(accountId, refreshToken)

Readme

Keywords

none

Package Sidebar

Install

npm i @honkandgo/spotifyads

Weekly Downloads

7

Version

1.4.3

License

MIT

Unpacked Size

287 kB

Total Files

18

Last publish

Collaborators

  • isakre
  • brajja
  • elibon
  • davvo
  • bodaniel