Skip to content

rubenfonseca/musicbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MusicBox

this project is a fun experiment to pragmatically use SAPO’s MusicBox service as an API.

it is utterly incomplete, and only serves as a proof of concept

Requirements

If you want to run the PoC, you’ll need:

- ruby
- bundler (gem install bundler)

- thrift (optional, if you want to generate other language bindings)

howto

there is a file client.rb on this project that will play a track I like on the CLI

mplayer (brew install mplayer, you are using homebrew on OS X, right?) is required if you want to directly ear the track on the console. otherwise, you must copy the provided URL to a player like VLC or similar.


$ bundle (first time only, installs dependencies)
$ ruby client.rb your_musicbox_username your_musicbox_password

further work

I’m happy enough with the progress :) but feel free to enhance the thrift api description :D

I’m not going to explore this a lot more, because I’ve got a feeling that an official API is near…

About

workshop and fun experiment to access SAPO's MusicBox service as an API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages