1.4.3 • Published 7 months ago

@honkandgo/spotifyads v1.4.3

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

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)
1.4.3

7 months ago

1.4.2

8 months ago

1.4.1

9 months ago

1.4.0

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago