Skip to content

jasoncale/bandcamp-rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bandcamp API.

Very simple API around the information listed on this blog post from Bandcamp:
http://bandcamptech.wordpress.com/2011/03/03/bandcamp-api-2/

# Getting started

Bandcamp::Base.api_key = 'SECRET_API_KEY' # email Bandcamp support <[email protected]> for an API key

# Get band info
@band = Bandcamp::Band.load('3463798201')

@band.name #=> "Amanda Palmer"

# Get album
@album = Bandcamp::Album.load("2587417518")

@album.title #=> "Who Killed Amanda Palmer"

Check out the tests for all the information you need .. all the API methods are covered.

About

Ruby Gem which wraps the Bandcamp API (up to v3).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages