Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@honkandgo/spotifyads

Package Overview
Dependencies
Maintainers
5
Versions
8
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.

  • 1.4.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
11
increased by450%
Maintainers
5
Weekly downloads
 
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 02 Oct 2023

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc