next-big-sound-lite 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +3 -3
- data/Rakefile +1 -1
- data/lib/next-big-sound-lite.rb +0 -1
- data/next-big-sound-lite.gemspec +1 -1
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -8,7 +8,7 @@ First setup the gem to use your API key:
|
|
8
8
|
|
9
9
|
NBS.api_key = 'your_key'
|
10
10
|
|
11
|
-
The methods of this wrapper are organized in the same way as the subsections of the API docs. For example to call the
|
11
|
+
The methods of this wrapper are organized in the same way as the subsections of the API docs. For example to call the endpoint 'view' on Artists you should call:
|
12
12
|
|
13
13
|
NBS::Artist.view(id)
|
14
14
|
|
@@ -18,9 +18,9 @@ Another example:
|
|
18
18
|
|
19
19
|
NBS::Metric.profile(id)
|
20
20
|
|
21
|
-
Would call the Profile
|
21
|
+
Would call the Profile endpoint defined under the Metrics subsection. And so on.
|
22
22
|
|
23
|
-
The one gotcha is the rank
|
23
|
+
The one gotcha is the rank endpoint on the Artists subsection. It expects a type and an array of ids. E.g.
|
24
24
|
|
25
25
|
NBS::Artist.rank(type, [365, 654, 123])
|
26
26
|
|
data/Rakefile
CHANGED
@@ -3,7 +3,7 @@ require 'rubygems'
|
|
3
3
|
require 'rake'
|
4
4
|
require 'echoe'
|
5
5
|
|
6
|
-
Echoe.new('next-big-sound-lite', '0.1.
|
6
|
+
Echoe.new('next-big-sound-lite', '0.1.7') do |p|
|
7
7
|
p.description = "Thin wrapper for the Next Big Sound API."
|
8
8
|
p.url = "http://github.com/rpbertp13/next-big-sound-lite"
|
9
9
|
p.author = "Roberto Thais"
|
data/lib/next-big-sound-lite.rb
CHANGED
data/next-big-sound-lite.gemspec
CHANGED