Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.
/ bandcamper Public archive

Unofficial Bandcamp API server

License

Notifications You must be signed in to change notification settings

hcxp/bandcamper

Repository files navigation

Bandcamp API

As of today, Bandcamp does not provide an API for retrieving info about bands and their music in a developer friendly way. Aim of this project is to provide a self-hosted service that crawls given bands profiles and exposes found data using json:api format.

Originally made for hcxp.co

Setup

How to prepare (create and migrate) DB for development and test environments:

% bundle exec hanami db prepare

% HANAMI_ENV=test bundle exec hanami db prepare

How to run the development server:

% gem install foreman
% foreman start -f Procfile.dev

How to run the development console:

% bundle exec hanami console

How to run tests:

% bundle exec rspec