SptyAPI
Ruby wrapper for Spotify's Web API.
Note: Gem is still in early developmental stages and not ready for use.
Installation
Add this line to your application's Gemfile:
gem 'spty_api'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install spty_api
Usage
Configure the gem
Put this in your initializer
Spty.configure do |config|
config.client_id = '<your client id>'
config.secret_key = '<your secret key>'
end
The gem only support 'Client Credentials Flow' authorization for now. Support for the 'Authorization Code Flow' will be added in later versions.
Development
After checking out the repo, run bin/setup to install dependencies. Then, run
rake specto run the tests. You can also runbin/console` for an interactive
prompt that will allow you to experiment.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/jibone/spty_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the SptyAPI project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.