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

spotify-request

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spotify-request

A small Spotify API proxy server.

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
Maintainers
1
Weekly downloads
 
Created
Source

Spotify-Request

Spotify-Request is an API server for the Spotify service that serves requests via Socket.io. It allows remote query against the spotify api without local keys.

Currently the following requests are supported:

  • Get Track via Spotify URI

Using the library

There are two ways to use this library:

  • Hosting a socket.io API server
let spotreq    = require('spotify-request');
let api_server = new spotreq.APIServer(3000, 'Spotify WEB API KEY', 'Corresponding secret');
  • Access to the underlying Spotify API proxy (SpotifyRequest)
let spotreq  = require('spotify-request');
let proxy    = new spotreq.SpotifyRequest('Spotify WEB API KEY', 'Corresponding secret');

There are slightly larger examples in ./examples, but you should be able to follow the source for more details :)

Keywords

FAQs

Package last updated on 18 Nov 2016

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