Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@honkandgo/spotifyads

Package Overview
Dependencies
Maintainers
5
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@honkandgo/spotifyads

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

latest
npmnpm
Version
3.0.0
Version published
Maintainers
5
Created
Source

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)

FAQs

Package last updated on 04 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts