public_api_v3
v3.0.0
Published
_Basics_What_is_Bandsintown_Public_API_v3_The_Bandsintown_version_3_API_is_designed_for_enterprise_partners_with_websites_media_players_andor_mobile_applications_that_would_like_to_provide_their_users_with_the_ability_to_RSVP_to_and_share_artists_Bandsint
Downloads
2
Readme
public_api_v3
PublicApiV3 - JavaScript client for public_api_v3
Basics ## What is Bandsintown Public API v3 ? The Bandsintown version 3 API is designed for enterprise partners with websites, media players, and/or mobile applications that would like to provide their users with the ability to RSVP to and share artist's Bandsintown events - driving users back to their own website or application. The primary use of this API is to enable partners to perform these actions using their own Facebook application by providing them with the necessary Bandsintown event IDs connected to the real artists. The Bandsintown events are created in a systematic way by working directly with our partners, artists, and fans. ## Getting Started - Pick an application id, this can be anything, but should be a word that describes your application or company. - Make sure to follow all Facebook policies. - Check out the Best Practices section for guidelines. - Let us know what you have planned by sending us an email, maybe we can help. # Terms and conditions In order to access the Bandsintown version 3 API you must have written consent from Bandsintown Inc. Any other use of this API is prohibited. Please contact us.
This SDK is automatically generated by the Swagger Codegen project:
- API version: 3.0.0
- Package version: 3.0.0
- Build package: class io.swagger.codegen.languages.JavascriptClientCodegen For more information, please visit https://bandsintown.desk.com/
Installation
For Node.js
npm
To publish the library as a npm, please follow the procedure in "Publishing npm packages".
Then install it via:
npm install public_api_v3 --save
git
If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/public_api_v3 then install it via:
npm install YOUR_USERNAME/public_api_v3 --save
For browser
The library also works in the browser environment via npm and browserify. After following
the above steps with Node.js and installing browserify with npm install -g browserify
,
perform the following (assuming main.js is your entry file):
browserify main.js > bundle.js
Then include bundle.js in the HTML pages.
Getting Started
Please follow the installation instruction and execute the following JS code:
var PublicApiV3 = require('public_api_v3');
var api = new PublicApiV3.UpcomingArtistEventsApi()
var artistname = "artistname_example"; // {String} The name of the artist
var appId = "appId_example"; // {String} ID of the app using the API. This can be anything, but should be a word that describes your application or company.
var opts = {
'_date': "_date_example" // {String} Date range of requested shows
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.artistEvents(artistname, appId, opts, callback);
Documentation for API Endpoints
All URIs are relative to https://rest.bandsintown.com
Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- PublicApiV3.UpcomingArtistEventsApi | artistEvents | GET /artists/{artistname}/events | upcoming artist events
Documentation for Models
Documentation for Authorization
All endpoints do not require authorization.