npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/bandsintown

v4.0.0

Published

DataFire integration for Bandsintown API

Downloads

4

Readme

@datafire/bandsintown

Client library for Bandsintown API

Installation and Usage

npm install --save @datafire/bandsintown
let bandsintown = require('@datafire/bandsintown').create();

.then(data => {
  console.log(data);
});

Description

What is the Bandsintown API?

The Bandsintown API is designed for artists and enterprises representing artists.

It offers read-only access to artist info and artist events:

  • artist info: returns the link to the Bandsintown artist page, the link to the artist photo, the current number of trackers and more
  • artist events: returns the list of events including their date and time, venue name and location, ticket links, lineup, description and the link to the Bandsintown event page

Note you can specify if you only want to return upcoming events, past events, all events, or events within a given date range.

Getting Started

  • In order to use the Bandsintown API, you must read and accept our Terms and Conditions below and you must have written consent from Bandsintown Inc. Any other use of the Bandsintown API is prohibited. Contact Bandsintown to tell us what you plan to do and request your personal application ID.
  • Find out about the API methods available and the format of the API responses below. Select the method you wish to use and try it out online with the app ID provided to you.
  • Call our Bandsintown API with the app ID provided straight from your website or back-end platform and choose which element of the API response you wish to display. Scroll to the bottom of this page to find out about the Models used.

Actions

artist

Get artist information

bandsintown.artist({
  "artistname": "",
  "app_id": ""
}, context)

Input

  • input object
    • artistname required string: The name of the artist. If it contains one of the special characters below, please be sure to replace it by the corresponding code: for / use %252F, for ? use %253F, for * use %252A, and for " use %27C
    • app_id required string: The application ID assigned to you by Bandsintown

Output

artistEvents

artist events

bandsintown.artistEvents({
  "artistname": "",
  "app_id": ""
}, context)

Input

  • input object
    • artistname required string: The name of the artist. If it contains one of the special characters below, please be sure to replace it by the corresponding code: for / use %252F, for ? use %253F, for * use %252A, and for " use %27C
    • app_id required string: The application ID assigned to you by Bandsintown
    • date string: Can be one of the following values: "upcoming", "past", "all", or a date range e.g. "2015-05-05,2017-05-05". If not specified, only upcoming shows are returned

Output

Definitions

ArtistData

  • ArtistData object
    • facebook_page_url required string
    • id integer
    • image_url required string
    • mbid required string
    • name required string
    • thumb_url required string
    • tracker_count required integer
    • upcoming_event_count required integer
    • url required string

EventData

  • EventData object
    • artist_id required string
    • datetime required string
    • description string
    • id required string
    • lineup required array
      • items string
    • offers required array
    • on_sale_datetime required string
    • url required string
    • venue required VenueData

OfferData

  • OfferData object
    • status required string
    • type required string
    • url required string

VenueData

  • VenueData object
    • city required string
    • country required string
    • latitude required string
    • longitude required string
    • name required string
    • region required string