Socket
Socket
Sign inDemoInstall

@honkandgo/spotifyads

Package Overview
Dependencies
17
Maintainers
5
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @honkandgo/spotifyads

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


Version published
Weekly downloads
0
decreased by-100%
Maintainers
5
Install size
2.87 MB
Created
Weekly downloads
 

Readme

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

Last updated on 02 Oct 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc