lastfm 1.23.0 → 1.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +163 -0
- data/lastfm.gemspec +1 -1
- data/lib/lastfm/method_category/artist.rb +11 -11
- data/spec/method_specs/artist_spec.rb +0 -1
- metadata +21 -39
- data/README.rdoc +0 -162
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 5596a9188de8b49ae4ab92e7c1cec3e11e971f6d
|
4
|
+
data.tar.gz: b982aeeaa7981e5395a06bb2b56ef7770ced4bbe
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 97e5e11c762658420f70f977559b23ea1d0ea0bca666cddd70d522f7fcc1188f306f373734e59e43708484769c63711aa8e43d3e019607079e841b5645053aba
|
7
|
+
data.tar.gz: 594fa17db9fc6b9480e0ab77c36d39f814a584e9018576f0504fe76356ab0f605b5e2bbb2bac8cfbd4707802722eeab215966b50adbc5fe0130857b428f3de26
|
data/README.md
ADDED
@@ -0,0 +1,163 @@
|
|
1
|
+
# ruby-lastfm [![Build Status](https://secure.travis-ci.org/youpy/ruby-lastfm.png?branch=master)](http://travis-ci.org/youpy/ruby-lastfm)
|
2
|
+
|
3
|
+
A Ruby interface for Last.fm Web Services v2.0
|
4
|
+
|
5
|
+
## Synopsis
|
6
|
+
|
7
|
+
```ruby
|
8
|
+
require 'lastfm'
|
9
|
+
|
10
|
+
lastfm = Lastfm.new(api_key, api_secret)
|
11
|
+
token = lastfm.auth.get_token
|
12
|
+
|
13
|
+
# open 'http://www.last.fm/api/auth/?api_key=xxxxxxxxxxx&token=xxxxxxxx' and grant the application
|
14
|
+
|
15
|
+
lastfm.session = lastfm.auth.get_session(token: token)['key']
|
16
|
+
|
17
|
+
lastfm.track.love(artist: 'Hujiko Pro', track: 'acid acid 7riddim')
|
18
|
+
lastfm.track.scrobble(artist: 'Hujiko Pro', track: 'acid acid 7riddim')
|
19
|
+
lastfm.track.update_now_playing(artist: 'Hujiko Pro', track: 'acid acid 7riddim')
|
20
|
+
```
|
21
|
+
|
22
|
+
## Supported Rubies
|
23
|
+
|
24
|
+
* 1.9.3
|
25
|
+
* 2.0.0
|
26
|
+
* 2.1.0
|
27
|
+
|
28
|
+
## Supported API Methods
|
29
|
+
|
30
|
+
It supports methods which require [authentication](http://www.last.fm/api/authentication).
|
31
|
+
|
32
|
+
### Album
|
33
|
+
|
34
|
+
* [album.getInfo](http://www.last.fm/api/show?service=290)
|
35
|
+
|
36
|
+
### Artist
|
37
|
+
|
38
|
+
* [artist.getEvents](http://www.last.fm/api/show?service=117)
|
39
|
+
* [artist.getInfo](http://www.last.fm/api/show?service=267)
|
40
|
+
* [artist.getSimilar](http://www.last.fm/api/show?service=267)
|
41
|
+
* [artist.getTags](http://www.last.fm/api/show?service=267)
|
42
|
+
* [artist.getTopAlbums](http://www.last.fm/api/show/artist.getTopAlbums)
|
43
|
+
* [artist.getTopFans](http://www.last.fm/api/show/artist.getTopFans)
|
44
|
+
* [artist.getTopTags](http://www.last.fm/api/show/artist.getTopTags)
|
45
|
+
* [artist.getTopTracks](http://www.last.fm/api/show/artist.getTopTracks)
|
46
|
+
* [artist.search](http://www.last.fm/api/show/artist.search)
|
47
|
+
|
48
|
+
### Auth
|
49
|
+
|
50
|
+
* [auth.getMobileSession](http://www.last.fm/api/show?service=266)
|
51
|
+
* [auth.getToken](http://www.last.fm/api/show?service=265)
|
52
|
+
* [auth.getSession](http://www.last.fm/api/show?service=125)
|
53
|
+
|
54
|
+
### Event
|
55
|
+
|
56
|
+
* [event.getInfo](http://www.last.fm/api/show/event.getInfo)
|
57
|
+
|
58
|
+
### Radio
|
59
|
+
|
60
|
+
* [radio.getPlaylist](http://www.last.fm/api/show/radio.getPlaylist)
|
61
|
+
|
62
|
+
### Tag
|
63
|
+
|
64
|
+
* [tag.getTopAlbums](http://www.last.fm/api/show/tag.getTopAlbums)
|
65
|
+
* [tag.getTopArtists](http://www.last.fm/api/show/tag.getTopArtists)
|
66
|
+
* [tag.getTopTracks](http://www.last.fm/api/show/tag.getTopTracks)
|
67
|
+
* [tag.search](http://www.last.fm/api/show/tag.search)
|
68
|
+
|
69
|
+
### Tasteometer
|
70
|
+
|
71
|
+
* [tasteometer.compare](http://www.last.fm/api/show/tasteometer.compare)
|
72
|
+
|
73
|
+
### Track
|
74
|
+
|
75
|
+
* [track.addTags](http://www.last.fm/api/show?service=304)
|
76
|
+
* [track.ban](http://www.last.fm/api/show?service=261)
|
77
|
+
* [track.getCorrection](http://www.last.fm/api/show?service=447)
|
78
|
+
* [track.getInfo](http://www.last.fm/api/show?service=356)
|
79
|
+
* [track.getSimilar](http://www.last.fm/api/show?service=319)
|
80
|
+
* [track.getTags](http://www.last.fm/api/show?service=320)
|
81
|
+
* [track.getTopFans](http://www.last.fm/api/show?service=312)
|
82
|
+
* [track.getTopTags](http://www.last.fm/api/show?service=289)
|
83
|
+
* [track.love](http://www.last.fm/api/show?service=260)
|
84
|
+
* [track.removeTag](http://www.last.fm/api/show?service=316)
|
85
|
+
* [track.scrobble](http://www.last.fm/api/show?service=443)
|
86
|
+
* [track.search](http://www.last.fm/api/show?service=286)
|
87
|
+
* [track.share](http://www.last.fm/api/show?service=305)
|
88
|
+
* [track.updateNowPlaying](http://www.last.fm/api/show?service=454)
|
89
|
+
* [track.unlove](http://www.last.fm/api/show/track.unlove)
|
90
|
+
|
91
|
+
### User
|
92
|
+
|
93
|
+
* [user.getFriends](http://www.last.fm/api/show?service=263)
|
94
|
+
* [user.getInfo](http://www.last.fm/api/show?service=344)
|
95
|
+
* [user.getLovedTracks](http://www.last.fm/api/show/user.getLovedTracks)
|
96
|
+
* [user.getNeighbours](http://www.last.fm/api/show?service=264)
|
97
|
+
* [user.getPersonalTags](http://www.last.fm/api/show/user.getPersonalTags)
|
98
|
+
* [user.getRecentTracks](http://www.last.fm/api/show?service=278)
|
99
|
+
* [user.getRecommendedEvents](http://www.last.fm/api/show/user.getRecommendedEvents)
|
100
|
+
* [user.getRecommendedArtists](http://www.last.fm/api/show/user.getRecommendedArtists)
|
101
|
+
* [user.getTopArtists](http://www.last.fm/api/show/user.getTopArtists)
|
102
|
+
* [user.getTopAlbums](http://www.last.fm/api/show/user.getTopAlbums)
|
103
|
+
* [user.getTopTags](http://www.last.fm/api/show/user.getTopTags)
|
104
|
+
* [user.getTopTracks](http://www.last.fm/api/show/user.getTopTracks)
|
105
|
+
* [user.getWeeklyAlbumList](http://www.last.fm/api/show/user.getWeeklyAlbumChart)
|
106
|
+
* [user.getWeeklyArtistList](http://www.last.fm/api/show/user.getWeeklyArtistChart)
|
107
|
+
* [user.getWeeklyChartList](http://www.last.fm/api/show/group.getWeeklyChartList)
|
108
|
+
* [user.getWeeklyTrackList](http://www.last.fm/api/show/user.getWeeklyTrackChart)
|
109
|
+
|
110
|
+
### Geo
|
111
|
+
|
112
|
+
* [geo.getEvents](http://www.last.fm/api/show?service#270)
|
113
|
+
|
114
|
+
### Library
|
115
|
+
|
116
|
+
* [library.getArtists](http://www.last.fm/api/show?service#322)
|
117
|
+
* [library.getTracks](http://www.last.fm/api/show/library.getTracks)
|
118
|
+
|
119
|
+
### Chart
|
120
|
+
|
121
|
+
* [chart.getHypedArtists](http://www.last.fm/api/show/chart.getHypedArtists)
|
122
|
+
* [chart.getHypedTracks](http://www.last.fm/api/show/chart.getHypedTracks)
|
123
|
+
* [chart.getLovedTracks](http://www.last.fm/api/show/chart.getLovedTracks)
|
124
|
+
* [chart.getTopArtists](http://www.last.fm/api/show/chart.getTopArtists)
|
125
|
+
* [chart.getTopTags](http://www.last.fm/api/show/chart.getTopTags)
|
126
|
+
* [chart.getTopTracks](http://www.last.fm/api/show/chart.getTopTracks)
|
127
|
+
|
128
|
+
## Installation
|
129
|
+
|
130
|
+
### Archive Installation
|
131
|
+
|
132
|
+
```
|
133
|
+
rake install
|
134
|
+
```
|
135
|
+
|
136
|
+
### Gem Installation
|
137
|
+
|
138
|
+
```
|
139
|
+
gem update --system
|
140
|
+
gem install gemcutter
|
141
|
+
gem tumble
|
142
|
+
gem install lastfm
|
143
|
+
```
|
144
|
+
|
145
|
+
## Features/Problems
|
146
|
+
|
147
|
+
## Comitters
|
148
|
+
|
149
|
+
see https://github.com/youpy/ruby-lastfm/contributors
|
150
|
+
|
151
|
+
## Note on Patches/Pull Requests
|
152
|
+
|
153
|
+
* Fork the project.
|
154
|
+
* Make your feature addition or bug fix.
|
155
|
+
* Add tests for it. This is important so I don't break it in a
|
156
|
+
future version unintentionally.
|
157
|
+
* Commit, do not mess with rakefile, version, or history.
|
158
|
+
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
159
|
+
* Send me a pull request. Bonus points for topic branches.
|
160
|
+
|
161
|
+
## Copyright
|
162
|
+
|
163
|
+
Copyright (c) 2010 youpy. See LICENSE for details.
|
data/lastfm.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
|
|
12
12
|
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
13
13
|
gem.name = %q{lastfm}
|
14
14
|
gem.require_paths = ["lib"]
|
15
|
-
gem.version = "1.
|
15
|
+
gem.version = "1.24.0"
|
16
16
|
gem.license = 'MIT'
|
17
17
|
|
18
18
|
gem.add_dependency "xml-simple"
|
@@ -3,51 +3,51 @@ class Lastfm
|
|
3
3
|
class Artist < Base
|
4
4
|
regular_method(
|
5
5
|
:get_top_tracks,
|
6
|
-
:required => [:artist]
|
6
|
+
:required => any_params([:artist], [:mbid])
|
7
7
|
) do |response|
|
8
8
|
response.xml['toptracks']['track']
|
9
9
|
end
|
10
10
|
|
11
11
|
regular_method(
|
12
12
|
:get_top_albums,
|
13
|
-
:required => [:artist]
|
13
|
+
:required => any_params([:artist], [:mbid])
|
14
14
|
) do |response|
|
15
15
|
response.xml['topalbums']['album']
|
16
16
|
end
|
17
17
|
|
18
18
|
regular_method(
|
19
19
|
:get_info,
|
20
|
-
:required => [:artist]
|
20
|
+
:required => any_params([:artist], [:mbid])
|
21
21
|
) do |response|
|
22
22
|
response.xml['artist']
|
23
23
|
end
|
24
24
|
|
25
25
|
regular_method(
|
26
26
|
:get_events,
|
27
|
-
:required => [:artist]
|
27
|
+
:required => any_params([:artist], [:mbid])
|
28
28
|
) do |response|
|
29
29
|
response.xml['events']['event']
|
30
30
|
end
|
31
31
|
|
32
32
|
regular_method(
|
33
33
|
:get_images,
|
34
|
-
:required => [:artist]
|
34
|
+
:required => any_params([:artist], [:mbid])
|
35
35
|
) do |response|
|
36
36
|
response.xml['images']['image']
|
37
37
|
end
|
38
38
|
|
39
|
-
regular_method(
|
40
|
-
:
|
39
|
+
regular_method(
|
40
|
+
:get_similar,
|
41
|
+
:required => any_params([:artist], [:mbid])
|
41
42
|
) do |response|
|
42
43
|
response.xml['similarartists']['artist']
|
43
44
|
end
|
44
45
|
|
45
46
|
regular_method(
|
46
47
|
:get_tags,
|
47
|
-
:required => [:artist],
|
48
|
+
:required => any_params([:artist], [:mbid]),
|
48
49
|
:optional => [
|
49
50
|
[:user, nil],
|
50
|
-
[:mbid, nil],
|
51
51
|
[:autocorrect, nil]
|
52
52
|
]
|
53
53
|
) do |response|
|
@@ -56,7 +56,7 @@ class Lastfm
|
|
56
56
|
|
57
57
|
regular_method(
|
58
58
|
:get_top_fans,
|
59
|
-
:required => [:artist]
|
59
|
+
:required => any_params([:artist], [:mbid])
|
60
60
|
) do |response|
|
61
61
|
response.xml['topfans']['user']
|
62
62
|
end
|
@@ -73,7 +73,7 @@ class Lastfm
|
|
73
73
|
|
74
74
|
regular_method(
|
75
75
|
:search,
|
76
|
-
:required => [:artist],
|
76
|
+
:required => any_params([:artist], [:mbid]),
|
77
77
|
:optional => [
|
78
78
|
[:limit, nil],
|
79
79
|
[:page, nil]
|
metadata
CHANGED
@@ -1,94 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lastfm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.24.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- youpy
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-
|
11
|
+
date: 2014-03-05 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: xml-simple
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: httparty
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: activesupport
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: 3.2.0
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: 3.2.0
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rspec
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- - ~>
|
59
|
+
- - "~>"
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: 2.8.0
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- - ~>
|
66
|
+
- - "~>"
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: 2.8.0
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: rake
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - ">="
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: '0'
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - ">="
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: '0'
|
94
83
|
description: A ruby interface for Last.fm web services version 2.0
|
@@ -98,12 +87,12 @@ executables: []
|
|
98
87
|
extensions: []
|
99
88
|
extra_rdoc_files: []
|
100
89
|
files:
|
101
|
-
- .gitignore
|
102
|
-
- .rspec
|
103
|
-
- .travis.yml
|
90
|
+
- ".gitignore"
|
91
|
+
- ".rspec"
|
92
|
+
- ".travis.yml"
|
104
93
|
- Gemfile
|
105
94
|
- LICENSE
|
106
|
-
- README.
|
95
|
+
- README.md
|
107
96
|
- Rakefile
|
108
97
|
- lastfm.gemspec
|
109
98
|
- lib/lastfm.rb
|
@@ -203,33 +192,26 @@ files:
|
|
203
192
|
homepage: http://github.com/youpy/ruby-lastfm
|
204
193
|
licenses:
|
205
194
|
- MIT
|
195
|
+
metadata: {}
|
206
196
|
post_install_message:
|
207
197
|
rdoc_options: []
|
208
198
|
require_paths:
|
209
199
|
- lib
|
210
200
|
required_ruby_version: !ruby/object:Gem::Requirement
|
211
|
-
none: false
|
212
201
|
requirements:
|
213
|
-
- -
|
202
|
+
- - ">="
|
214
203
|
- !ruby/object:Gem::Version
|
215
204
|
version: '0'
|
216
|
-
segments:
|
217
|
-
- 0
|
218
|
-
hash: 1082027776483675998
|
219
205
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
|
-
none: false
|
221
206
|
requirements:
|
222
|
-
- -
|
207
|
+
- - ">="
|
223
208
|
- !ruby/object:Gem::Version
|
224
209
|
version: '0'
|
225
|
-
segments:
|
226
|
-
- 0
|
227
|
-
hash: 1082027776483675998
|
228
210
|
requirements: []
|
229
211
|
rubyforge_project:
|
230
|
-
rubygems_version:
|
212
|
+
rubygems_version: 2.2.1
|
231
213
|
signing_key:
|
232
|
-
specification_version:
|
214
|
+
specification_version: 4
|
233
215
|
summary: A ruby interface for Last.fm web services version 2.0
|
234
216
|
test_files:
|
235
217
|
- spec/fixtures/album_get_info.xml
|
data/README.rdoc
DELETED
@@ -1,162 +0,0 @@
|
|
1
|
-
= ruby-lastfm {<img src="https://secure.travis-ci.org/youpy/ruby-lastfm.png?rvm=1.9.3" />}[http://travis-ci.org/youpy/ruby-lastfm]
|
2
|
-
|
3
|
-
A Ruby interface for Last.fm Web Services v2.0
|
4
|
-
|
5
|
-
== Synopsis
|
6
|
-
|
7
|
-
```ruby
|
8
|
-
require 'lastfm'
|
9
|
-
|
10
|
-
lastfm = Lastfm.new(api_key, api_secret)
|
11
|
-
token = lastfm.auth.get_token
|
12
|
-
|
13
|
-
# open 'http://www.last.fm/api/auth/?api_key=xxxxxxxxxxx&token=xxxxxxxx' and grant the application
|
14
|
-
|
15
|
-
lastfm.session = lastfm.auth.get_session(token: token)['key']
|
16
|
-
|
17
|
-
lastfm.track.love(artist: 'Hujiko Pro', track: 'acid acid 7riddim')
|
18
|
-
lastfm.track.scrobble(artist: 'Hujiko Pro', track: 'acid acid 7riddim')
|
19
|
-
lastfm.track.update_now_playing(artist: 'Hujiko Pro', track: 'acid acid 7riddim')
|
20
|
-
|
21
|
-
# deprecated style
|
22
|
-
lastfm.track.love('Hujiko Pro', 'acid acid 7riddim')
|
23
|
-
```
|
24
|
-
|
25
|
-
== Supported Rubies
|
26
|
-
|
27
|
-
* 1.9.3
|
28
|
-
* 2.0.0
|
29
|
-
* 2.1.0
|
30
|
-
|
31
|
-
== Supported API Methods
|
32
|
-
|
33
|
-
It supports methods which require {authentication}[http://www.last.fm/api/authentication].
|
34
|
-
|
35
|
-
=== Album
|
36
|
-
|
37
|
-
* {album.getInfo}[http://www.last.fm/api/show?service=290]
|
38
|
-
|
39
|
-
=== Artist
|
40
|
-
|
41
|
-
* {artist.getEvents}[http://www.last.fm/api/show?service=117]
|
42
|
-
* {artist.getInfo}[http://www.last.fm/api/show?service=267]
|
43
|
-
* {artist.getSimilar}[http://www.last.fm/api/show?service=267]
|
44
|
-
* {artist.getTags}[http://www.last.fm/api/show?service=267]
|
45
|
-
* {artist.getTopAlbums}[http://www.last.fm/api/show/artist.getTopAlbums]
|
46
|
-
* {artist.getTopFans}[http://www.last.fm/api/show/artist.getTopFans]
|
47
|
-
* {artist.getTopTags}[http://www.last.fm/api/show/artist.getTopTags]
|
48
|
-
* {artist.getTopTracks}[http://www.last.fm/api/show/artist.getTopTracks]
|
49
|
-
* {artist.search}[http://www.last.fm/api/show/artist.search]
|
50
|
-
|
51
|
-
=== Auth
|
52
|
-
|
53
|
-
* {auth.getMobileSession}[http://www.last.fm/api/show?service=266]
|
54
|
-
* {auth.getToken}[http://www.last.fm/api/show?service=265]
|
55
|
-
* {auth.getSession}[http://www.last.fm/api/show?service=125]
|
56
|
-
|
57
|
-
=== Event
|
58
|
-
|
59
|
-
* {event.getInfo}[http://www.last.fm/api/show/event.getInfo]
|
60
|
-
|
61
|
-
=== Radio
|
62
|
-
|
63
|
-
* {radio.getPlaylist}[http://www.last.fm/api/show/radio.getPlaylist]
|
64
|
-
|
65
|
-
=== Tag
|
66
|
-
|
67
|
-
* {tag.getTopAlbums}[http://www.last.fm/api/show/tag.getTopAlbums]
|
68
|
-
* {tag.getTopArtists}[http://www.last.fm/api/show/tag.getTopArtists]
|
69
|
-
* {tag.getTopTracks}[http://www.last.fm/api/show/tag.getTopTracks]
|
70
|
-
* {tag.search}[http://www.last.fm/api/show/tag.search]
|
71
|
-
|
72
|
-
=== Tasteometer
|
73
|
-
|
74
|
-
* {tasteometer.compare}[http://www.last.fm/api/show/tasteometer.compare]
|
75
|
-
|
76
|
-
=== Track
|
77
|
-
|
78
|
-
* {track.addTags}[http://www.last.fm/api/show?service=304]
|
79
|
-
* {track.ban}[http://www.last.fm/api/show?service=261]
|
80
|
-
* {track.getCorrection}[http://www.last.fm/api/show?service=447]
|
81
|
-
* {track.getInfo}[http://www.last.fm/api/show?service=356]
|
82
|
-
* {track.getSimilar}[http://www.last.fm/api/show?service=319]
|
83
|
-
* {track.getTags}[http://www.last.fm/api/show?service=320]
|
84
|
-
* {track.getTopFans}[http://www.last.fm/api/show?service=312]
|
85
|
-
* {track.getTopTags}[http://www.last.fm/api/show?service=289]
|
86
|
-
* {track.love}[http://www.last.fm/api/show?service=260]
|
87
|
-
* {track.removeTag}[http://www.last.fm/api/show?service=316]
|
88
|
-
* {track.scrobble}[http://www.last.fm/api/show?service=443]
|
89
|
-
* {track.search}[http://www.last.fm/api/show?service=286]
|
90
|
-
* {track.share}[http://www.last.fm/api/show?service=305]
|
91
|
-
* {track.updateNowPlaying}[http://www.last.fm/api/show?service=454]
|
92
|
-
* {track.unlove}[http://www.last.fm/api/show/track.unlove]
|
93
|
-
|
94
|
-
=== User
|
95
|
-
|
96
|
-
* {user.getFriends}[http://www.last.fm/api/show?service=263]
|
97
|
-
* {user.getInfo}[http://www.last.fm/api/show?service=344]
|
98
|
-
* {user.getLovedTracks}[http://www.last.fm/api/show/user.getLovedTracks]
|
99
|
-
* {user.getNeighbours}[http://www.last.fm/api/show?service=264]
|
100
|
-
* {user.getPersonalTags}[http://www.last.fm/api/show/user.getPersonalTags]
|
101
|
-
* {user.getRecentTracks}[http://www.last.fm/api/show?service=278]
|
102
|
-
* {user.getRecommendedEvents}[http://www.last.fm/api/show/user.getRecommendedEvents]
|
103
|
-
* {user.getRecommendedArtists}[http://www.last.fm/api/show/user.getRecommendedArtists]
|
104
|
-
* {user.getTopArtists}[http://www.last.fm/api/show/user.getTopArtists]
|
105
|
-
* {user.getTopAlbums}[http://www.last.fm/api/show/user.getTopAlbums]
|
106
|
-
* {user.getTopTags}[http://www.last.fm/api/show/user.getTopTags]
|
107
|
-
* {user.getTopTracks}[http://www.last.fm/api/show/user.getTopTracks]
|
108
|
-
* {user.getWeeklyAlbumList}[http://www.last.fm/api/show/user.getWeeklyAlbumChart]
|
109
|
-
* {user.getWeeklyArtistList}[http://www.last.fm/api/show/user.getWeeklyArtistChart]
|
110
|
-
* {user.getWeeklyChartList}[http://www.last.fm/api/show/group.getWeeklyChartList]
|
111
|
-
* {user.getWeeklyTrackList}[http://www.last.fm/api/show/user.getWeeklyTrackChart]
|
112
|
-
|
113
|
-
=== Geo
|
114
|
-
|
115
|
-
* {geo.getEvents}[http://www.last.fm/api/show?service=270]
|
116
|
-
|
117
|
-
=== Library
|
118
|
-
|
119
|
-
* {library.getArtists}[http://www.last.fm/api/show?service=322]
|
120
|
-
* {library.getTracks}[http://www.last.fm/api/show/library.getTracks]
|
121
|
-
|
122
|
-
=== Chart
|
123
|
-
|
124
|
-
* {chart.getHypedArtists}[http://www.last.fm/api/show/chart.getHypedArtists]
|
125
|
-
* {chart.getHypedTracks}[http://www.last.fm/api/show/chart.getHypedTracks]
|
126
|
-
* {chart.getLovedTracks}[http://www.last.fm/api/show/chart.getLovedTracks]
|
127
|
-
* {chart.getTopArtists}[http://www.last.fm/api/show/chart.getTopArtists]
|
128
|
-
* {chart.getTopTags}[http://www.last.fm/api/show/chart.getTopTags]
|
129
|
-
* {chart.getTopTracks}[http://www.last.fm/api/show/chart.getTopTracks]
|
130
|
-
|
131
|
-
== Installation
|
132
|
-
|
133
|
-
=== Archive Installation
|
134
|
-
|
135
|
-
rake install
|
136
|
-
|
137
|
-
=== Gem Installation
|
138
|
-
|
139
|
-
gem update --system
|
140
|
-
gem install gemcutter
|
141
|
-
gem tumble
|
142
|
-
gem install lastfm
|
143
|
-
|
144
|
-
== Features/Problems
|
145
|
-
|
146
|
-
== Comitters
|
147
|
-
|
148
|
-
see https://github.com/youpy/ruby-lastfm/contributors
|
149
|
-
|
150
|
-
== Note on Patches/Pull Requests
|
151
|
-
|
152
|
-
* Fork the project.
|
153
|
-
* Make your feature addition or bug fix.
|
154
|
-
* Add tests for it. This is important so I don't break it in a
|
155
|
-
future version unintentionally.
|
156
|
-
* Commit, do not mess with rakefile, version, or history.
|
157
|
-
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
158
|
-
* Send me a pull request. Bonus points for topic branches.
|
159
|
-
|
160
|
-
== Copyright
|
161
|
-
|
162
|
-
Copyright (c) 2010 youpy. See LICENSE for details.
|