Socket
Socket
Sign inDemoInstall

spotify-web-api-ts

Package Overview
Dependencies
17
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

spotify-web-api-ts

An isomorphic TypeScript wrapper for Spotify's Web API


Version published
Maintainers
1
Weekly downloads
18
decreased by-10%
Install size
1.23 MB

Weekly downloads

Readme

Source

spotify-web-api-ts

An isomorphic TypeScript wrapper for Spotify's Web API
View the docs »

npm minzipped size license

Master Workflow codecov semantic-release

Installation

yarn

yarn add spotify-web-api-ts

npm

npm install spotify-web-api-ts

Basic Example

import { SpotifyWebApi } from 'spotify-web-api-ts';

const spotify = new SpotifyWebApi({ accessToken: '<YOUR_ACCESS_TOKEN_HERE>' });

const { artists } = await spotify.albums.getAlbum('1uzfGk9vxMXfaZ2avqwxod');

console.log(artists.map(artist => artist.name));
// Array [ "Against All Logic" ]

FAQs

Last updated on 11 Feb 2021

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