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

songkick

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

songkick

Songkick SDK written in NodeJS returning promises.

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Build Status

Songkick Sdk NodeJS

Songkick SDK written in NodeJS returning promise objects.

About

The Songkick API gives you easy access to the biggest live music database in the world: over 5 million upcoming and past concerts… and growing every day! Easily add concerts to your website or application.

Usage


    // Creating the client
    const Songkick = new require('songkick')(process.env.SONGKICK_API_KEY);

    // Get an event by a given id
    Songkick.getEvent(27989954).then(JSON.parse).then(function(res) {
        // do stuff
    });

    // Find events
    Songkick.findEvents('sk:24426').then(JSON.parse).then(function(res) {
        // do stuff
    });

    // Find events by an given artist
    Songkick.findEventsByArtist(468146).then(JSON.parse).then(function(res) {
        // do stuff
    });

    // Find similar artist
    Songkick.findSimilarArtist(468146).then(JSON.parse).then(function(res) {
        // do stuff
    });

    // Get venue details
    Songkick.getVenue(17522).then(JSON.parse).then(function(res) {
        // do stuff
    });

Have a look into the /test dir to find further examples.

Test suites

    $ export SONGKICK_API_KEY={YOUR_SONGKICK_API_KEY} && \
      npm test

Support & Contact

Having trouble with this repository? Check out the documentation at the repository's site or contact m@matchilling.com and we'll help you sort it out.

Happy Coding

:metal:

Keywords

FAQs

Package last updated on 15 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