songkickr 0.1.4 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/README.rdoc +11 -4
- data/VERSION +1 -1
- data/doc/APIKeyNotSet.html +214 -0
- data/doc/LICENSE.html +133 -0
- data/doc/README_rdoc.html +170 -0
- data/doc/Songkickr/Artist.html +305 -0
- data/doc/Songkickr/ArtistResult.html +334 -0
- data/doc/Songkickr/ConcertSetlistResult.html +301 -0
- data/doc/Songkickr/Event.html +556 -0
- data/doc/Songkickr/EventResult.html +332 -0
- data/doc/Songkickr/Location.html +326 -0
- data/doc/Songkickr/LocationResult.html +335 -0
- data/doc/Songkickr/Performance.html +326 -0
- data/doc/Songkickr/Remote.html +715 -0
- data/doc/Songkickr/Setlist.html +398 -0
- data/doc/Songkickr/SetlistItem.html +263 -0
- data/doc/Songkickr/Venue.html +292 -0
- data/doc/Songkickr.html +328 -0
- data/doc/created.rid +16 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +144 -0
- data/doc/js/darkfish.js +116 -0
- data/doc/js/jquery.js +32 -0
- data/doc/js/quicksearch.js +114 -0
- data/doc/js/thickbox-compressed.js +10 -0
- data/doc/lib/songkickr/artist_rb.html +52 -0
- data/doc/lib/songkickr/artist_result_rb.html +52 -0
- data/doc/lib/songkickr/concert_setlist_result_rb.html +52 -0
- data/doc/lib/songkickr/event_rb.html +52 -0
- data/doc/lib/songkickr/event_result_rb.html +52 -0
- data/doc/lib/songkickr/location_rb.html +52 -0
- data/doc/lib/songkickr/location_result_rb.html +52 -0
- data/doc/lib/songkickr/performance_rb.html +52 -0
- data/doc/lib/songkickr/remote_rb.html +52 -0
- data/doc/lib/songkickr/setlist_item_rb.html +52 -0
- data/doc/lib/songkickr/setlist_rb.html +52 -0
- data/doc/lib/songkickr/venue_rb.html +52 -0
- data/doc/lib/songkickr_rb.html +56 -0
- data/doc/rdoc.css +759 -0
- data/lib/songkickr/artist.rb +17 -6
- data/lib/songkickr/artist_result.rb +25 -22
- data/lib/songkickr/concert_setlist_result.rb +6 -2
- data/lib/songkickr/event.rb +42 -3
- data/lib/songkickr/event_result.rb +3 -1
- data/lib/songkickr/location.rb +28 -3
- data/lib/songkickr/location_result.rb +8 -3
- data/lib/songkickr/performance.rb +20 -4
- data/lib/songkickr/remote.rb +102 -60
- data/lib/songkickr/setlist.rb +20 -0
- data/lib/songkickr/setlist_item.rb +6 -0
- data/lib/songkickr.rb +16 -3
- data/songkickr.gemspec +60 -12
- data/test.rb +12 -11
- metadata +66 -13
data/LICENSE
CHANGED
data/README.rdoc
CHANGED
@@ -4,11 +4,11 @@ A Ruby wrapper around the Songkick API. Visit www.songkick.com/developer for doc
|
|
4
4
|
|
5
5
|
= Install Instructions
|
6
6
|
|
7
|
-
|
7
|
+
gem install songkickr
|
8
8
|
|
9
|
-
|
9
|
+
or if your environment requires
|
10
10
|
|
11
|
-
|
11
|
+
sudo gem install songkickr
|
12
12
|
|
13
13
|
= Usage Instructions
|
14
14
|
|
@@ -38,4 +38,11 @@ Then call events, users_events(username), or concert_setlists(event_id)
|
|
38
38
|
|
39
39
|
== Copyright
|
40
40
|
|
41
|
-
Copyright (c) 2010 Jared Mehle. See LICENSE for details.
|
41
|
+
Copyright (c) 2010-2011 Jared Mehle. See LICENSE for details.
|
42
|
+
|
43
|
+
== Thanks
|
44
|
+
|
45
|
+
Thanks to Akshay Dodeja and Tomasz Stachewicz for submitting code and pull requests.
|
46
|
+
|
47
|
+
A special thank you to Jon Nunemaker for the httparty which is used extensively within this
|
48
|
+
gem and for the twitter gem as inspiration.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
@@ -0,0 +1,214 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
<head>
|
6
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
7
|
+
|
8
|
+
<title>Class: APIKeyNotSet</title>
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
|
11
|
+
|
12
|
+
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
|
13
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
|
14
|
+
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
|
15
|
+
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body id="top" class="class">
|
19
|
+
|
20
|
+
<div id="metadata">
|
21
|
+
<div id="home-metadata">
|
22
|
+
<div id="home-section" class="section">
|
23
|
+
<h3 class="section-header">
|
24
|
+
<a href="./index.html">Home</a>
|
25
|
+
<a href="./index.html#classes">Classes</a>
|
26
|
+
<a href="./index.html#methods">Methods</a>
|
27
|
+
</h3>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
<div id="file-metadata">
|
32
|
+
<div id="file-list-section" class="section">
|
33
|
+
<h3 class="section-header">In Files</h3>
|
34
|
+
<div class="section-body">
|
35
|
+
<ul>
|
36
|
+
|
37
|
+
<li><a href="./lib/songkickr_rb.html?TB_iframe=true&height=550&width=785"
|
38
|
+
class="thickbox" title="lib/songkickr.rb">lib/songkickr.rb</a></li>
|
39
|
+
|
40
|
+
</ul>
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
|
45
|
+
</div>
|
46
|
+
|
47
|
+
<div id="class-metadata">
|
48
|
+
|
49
|
+
<!-- Parent Class -->
|
50
|
+
<div id="parent-class-section" class="section">
|
51
|
+
<h3 class="section-header">Parent</h3>
|
52
|
+
|
53
|
+
<p class="link">StandardError</p>
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
<!-- Method Quickref -->
|
64
|
+
<div id="method-list-section" class="section">
|
65
|
+
<h3 class="section-header">Methods</h3>
|
66
|
+
<ul class="link-list">
|
67
|
+
|
68
|
+
<li><a href="#method-i-to_s">#to_s</a></li>
|
69
|
+
|
70
|
+
</ul>
|
71
|
+
</div>
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
</div>
|
76
|
+
|
77
|
+
<div id="project-metadata">
|
78
|
+
|
79
|
+
|
80
|
+
<div id="fileindex-section" class="section project-section">
|
81
|
+
<h3 class="section-header">Files</h3>
|
82
|
+
<ul>
|
83
|
+
|
84
|
+
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
|
85
|
+
|
86
|
+
<li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
|
87
|
+
|
88
|
+
</ul>
|
89
|
+
</div>
|
90
|
+
|
91
|
+
|
92
|
+
<div id="classindex-section" class="section project-section">
|
93
|
+
<h3 class="section-header">Class/Module Index
|
94
|
+
<span class="search-toggle"><img src="./images/find.png"
|
95
|
+
height="16" width="16" alt="[+]"
|
96
|
+
title="show/hide quicksearch" /></span></h3>
|
97
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
98
|
+
<fieldset>
|
99
|
+
<legend>Quicksearch</legend>
|
100
|
+
<input type="text" name="quicksearch" value=""
|
101
|
+
class="quicksearch-field" />
|
102
|
+
</fieldset>
|
103
|
+
</form>
|
104
|
+
|
105
|
+
<ul class="link-list">
|
106
|
+
|
107
|
+
<li><a href="./Songkickr.html">Songkickr</a></li>
|
108
|
+
|
109
|
+
<li><a href="./Songkickr/Artist.html">Songkickr::Artist</a></li>
|
110
|
+
|
111
|
+
<li><a href="./Songkickr/ArtistResult.html">Songkickr::ArtistResult</a></li>
|
112
|
+
|
113
|
+
<li><a href="./Songkickr/ConcertSetlistResult.html">Songkickr::ConcertSetlistResult</a></li>
|
114
|
+
|
115
|
+
<li><a href="./Songkickr/Event.html">Songkickr::Event</a></li>
|
116
|
+
|
117
|
+
<li><a href="./Songkickr/EventResult.html">Songkickr::EventResult</a></li>
|
118
|
+
|
119
|
+
<li><a href="./Songkickr/Location.html">Songkickr::Location</a></li>
|
120
|
+
|
121
|
+
<li><a href="./Songkickr/LocationResult.html">Songkickr::LocationResult</a></li>
|
122
|
+
|
123
|
+
<li><a href="./Songkickr/Performance.html">Songkickr::Performance</a></li>
|
124
|
+
|
125
|
+
<li><a href="./Songkickr/Remote.html">Songkickr::Remote</a></li>
|
126
|
+
|
127
|
+
<li><a href="./Songkickr/Setlist.html">Songkickr::Setlist</a></li>
|
128
|
+
|
129
|
+
<li><a href="./Songkickr/SetlistItem.html">Songkickr::SetlistItem</a></li>
|
130
|
+
|
131
|
+
<li><a href="./Songkickr/Venue.html">Songkickr::Venue</a></li>
|
132
|
+
|
133
|
+
<li><a href="./APIKeyNotSet.html">APIKeyNotSet</a></li>
|
134
|
+
|
135
|
+
</ul>
|
136
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
137
|
+
</div>
|
138
|
+
|
139
|
+
|
140
|
+
</div>
|
141
|
+
</div>
|
142
|
+
|
143
|
+
<div id="documentation">
|
144
|
+
<h1 class="class">APIKeyNotSet</h1>
|
145
|
+
|
146
|
+
<div id="description" class="description">
|
147
|
+
|
148
|
+
</div><!-- description -->
|
149
|
+
|
150
|
+
|
151
|
+
<div id="5Buntitled-5D" class="documentation-section">
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
<!-- Methods -->
|
161
|
+
|
162
|
+
<div id="public-instance-method-details" class="method-section section">
|
163
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
164
|
+
|
165
|
+
|
166
|
+
<div id="to_s-method" class="method-detail ">
|
167
|
+
<a name="method-i-to_s"></a>
|
168
|
+
|
169
|
+
|
170
|
+
<div class="method-heading">
|
171
|
+
<span class="method-name">to_s</span><span
|
172
|
+
class="method-args">()</span>
|
173
|
+
<span class="method-click-advice">click to toggle source</span>
|
174
|
+
</div>
|
175
|
+
|
176
|
+
|
177
|
+
<div class="method-description">
|
178
|
+
|
179
|
+
<p>Warns of missing API key</p>
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
<div class="method-source-code" id="to_s-source">
|
184
|
+
<pre>
|
185
|
+
<span class="ruby-comment"># File lib/songkickr.rb, line 21</span>
|
186
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
|
187
|
+
<span class="ruby-string">'API key not set!'</span>
|
188
|
+
<span class="ruby-keyword">end</span></pre>
|
189
|
+
</div><!-- to_s-source -->
|
190
|
+
|
191
|
+
</div>
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
</div><!-- to_s-method -->
|
197
|
+
|
198
|
+
|
199
|
+
</div><!-- public-instance-method-details -->
|
200
|
+
|
201
|
+
</div><!-- 5Buntitled-5D -->
|
202
|
+
|
203
|
+
|
204
|
+
</div><!-- documentation -->
|
205
|
+
|
206
|
+
<div id="validator-badges">
|
207
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
208
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
209
|
+
Rdoc Generator</a> 2</small>.</p>
|
210
|
+
</div>
|
211
|
+
|
212
|
+
</body>
|
213
|
+
</html>
|
214
|
+
|
data/doc/LICENSE.html
ADDED
@@ -0,0 +1,133 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
+
<head>
|
7
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
8
|
+
|
9
|
+
<title>File: LICENSE [RDoc Documentation]</title>
|
10
|
+
|
11
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
|
12
|
+
|
13
|
+
<script src="./js/jquery.js" type="text/javascript"
|
14
|
+
charset="utf-8"></script>
|
15
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
16
|
+
charset="utf-8"></script>
|
17
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
18
|
+
charset="utf-8"></script>
|
19
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
20
|
+
charset="utf-8"></script>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body class="file">
|
24
|
+
<div id="metadata">
|
25
|
+
<div id="home-metadata">
|
26
|
+
<div id="home-section" class="section">
|
27
|
+
<h3 class="section-header">
|
28
|
+
<a href="./index.html">Home</a>
|
29
|
+
<a href="./index.html#classes">Classes</a>
|
30
|
+
<a href="./index.html#methods">Methods</a>
|
31
|
+
</h3>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="project-metadata">
|
36
|
+
|
37
|
+
|
38
|
+
<div id="fileindex-section" class="section project-section">
|
39
|
+
<h3 class="section-header">Files</h3>
|
40
|
+
<ul>
|
41
|
+
|
42
|
+
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
|
43
|
+
|
44
|
+
<li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
|
45
|
+
|
46
|
+
</ul>
|
47
|
+
</div>
|
48
|
+
|
49
|
+
|
50
|
+
<div id="classindex-section" class="section project-section">
|
51
|
+
<h3 class="section-header">Class Index
|
52
|
+
<span class="search-toggle"><img src="./images/find.png"
|
53
|
+
height="16" width="16" alt="[+]"
|
54
|
+
title="show/hide quicksearch" /></span></h3>
|
55
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
56
|
+
<fieldset>
|
57
|
+
<legend>Quicksearch</legend>
|
58
|
+
<input type="text" name="quicksearch" value=""
|
59
|
+
class="quicksearch-field" />
|
60
|
+
</fieldset>
|
61
|
+
</form>
|
62
|
+
|
63
|
+
<ul class="link-list">
|
64
|
+
|
65
|
+
<li><a href="./Songkickr.html">Songkickr</a></li>
|
66
|
+
|
67
|
+
<li><a href="./Songkickr/Artist.html">Songkickr::Artist</a></li>
|
68
|
+
|
69
|
+
<li><a href="./Songkickr/ArtistResult.html">Songkickr::ArtistResult</a></li>
|
70
|
+
|
71
|
+
<li><a href="./Songkickr/ConcertSetlistResult.html">Songkickr::ConcertSetlistResult</a></li>
|
72
|
+
|
73
|
+
<li><a href="./Songkickr/Event.html">Songkickr::Event</a></li>
|
74
|
+
|
75
|
+
<li><a href="./Songkickr/EventResult.html">Songkickr::EventResult</a></li>
|
76
|
+
|
77
|
+
<li><a href="./Songkickr/Location.html">Songkickr::Location</a></li>
|
78
|
+
|
79
|
+
<li><a href="./Songkickr/LocationResult.html">Songkickr::LocationResult</a></li>
|
80
|
+
|
81
|
+
<li><a href="./Songkickr/Performance.html">Songkickr::Performance</a></li>
|
82
|
+
|
83
|
+
<li><a href="./Songkickr/Remote.html">Songkickr::Remote</a></li>
|
84
|
+
|
85
|
+
<li><a href="./Songkickr/Setlist.html">Songkickr::Setlist</a></li>
|
86
|
+
|
87
|
+
<li><a href="./Songkickr/SetlistItem.html">Songkickr::SetlistItem</a></li>
|
88
|
+
|
89
|
+
<li><a href="./Songkickr/Venue.html">Songkickr::Venue</a></li>
|
90
|
+
|
91
|
+
<li><a href="./APIKeyNotSet.html">APIKeyNotSet</a></li>
|
92
|
+
|
93
|
+
</ul>
|
94
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
95
|
+
</div>
|
96
|
+
|
97
|
+
|
98
|
+
</div>
|
99
|
+
</div>
|
100
|
+
|
101
|
+
<div id="documentation">
|
102
|
+
|
103
|
+
<p>Copyright © 2010-2011 Jared Mehle</p>
|
104
|
+
|
105
|
+
<p>Permission is hereby granted, free of charge, to any person obtaining a
|
106
|
+
copy of this software and associated documentation files (the
|
107
|
+
“Software”), to deal in the Software without restriction, including
|
108
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
109
|
+
distribute, sublicense, and/or sell copies of the Software, and to permit
|
110
|
+
persons to whom the Software is furnished to do so, subject to the
|
111
|
+
following conditions:</p>
|
112
|
+
|
113
|
+
<p>The above copyright notice and this permission notice shall be included in
|
114
|
+
all copies or substantial portions of the Software.</p>
|
115
|
+
|
116
|
+
<p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
117
|
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
118
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
119
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
120
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
121
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
122
|
+
DEALINGS IN THE SOFTWARE.</p>
|
123
|
+
|
124
|
+
</div>
|
125
|
+
|
126
|
+
<div id="validator-badges">
|
127
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
128
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
129
|
+
Rdoc Generator</a> 2</small>.</p>
|
130
|
+
</div>
|
131
|
+
</body>
|
132
|
+
</html>
|
133
|
+
|
@@ -0,0 +1,170 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
+
<head>
|
7
|
+
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
|
8
|
+
|
9
|
+
<title>File: README.rdoc [RDoc Documentation]</title>
|
10
|
+
|
11
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
|
12
|
+
|
13
|
+
<script src="./js/jquery.js" type="text/javascript"
|
14
|
+
charset="utf-8"></script>
|
15
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
16
|
+
charset="utf-8"></script>
|
17
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
18
|
+
charset="utf-8"></script>
|
19
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
20
|
+
charset="utf-8"></script>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body class="file">
|
24
|
+
<div id="metadata">
|
25
|
+
<div id="home-metadata">
|
26
|
+
<div id="home-section" class="section">
|
27
|
+
<h3 class="section-header">
|
28
|
+
<a href="./index.html">Home</a>
|
29
|
+
<a href="./index.html#classes">Classes</a>
|
30
|
+
<a href="./index.html#methods">Methods</a>
|
31
|
+
</h3>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="project-metadata">
|
36
|
+
|
37
|
+
|
38
|
+
<div id="fileindex-section" class="section project-section">
|
39
|
+
<h3 class="section-header">Files</h3>
|
40
|
+
<ul>
|
41
|
+
|
42
|
+
<li class="file"><a href="./LICENSE.html">LICENSE</a></li>
|
43
|
+
|
44
|
+
<li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
|
45
|
+
|
46
|
+
</ul>
|
47
|
+
</div>
|
48
|
+
|
49
|
+
|
50
|
+
<div id="classindex-section" class="section project-section">
|
51
|
+
<h3 class="section-header">Class Index
|
52
|
+
<span class="search-toggle"><img src="./images/find.png"
|
53
|
+
height="16" width="16" alt="[+]"
|
54
|
+
title="show/hide quicksearch" /></span></h3>
|
55
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
56
|
+
<fieldset>
|
57
|
+
<legend>Quicksearch</legend>
|
58
|
+
<input type="text" name="quicksearch" value=""
|
59
|
+
class="quicksearch-field" />
|
60
|
+
</fieldset>
|
61
|
+
</form>
|
62
|
+
|
63
|
+
<ul class="link-list">
|
64
|
+
|
65
|
+
<li><a href="./Songkickr.html">Songkickr</a></li>
|
66
|
+
|
67
|
+
<li><a href="./Songkickr/Artist.html">Songkickr::Artist</a></li>
|
68
|
+
|
69
|
+
<li><a href="./Songkickr/ArtistResult.html">Songkickr::ArtistResult</a></li>
|
70
|
+
|
71
|
+
<li><a href="./Songkickr/ConcertSetlistResult.html">Songkickr::ConcertSetlistResult</a></li>
|
72
|
+
|
73
|
+
<li><a href="./Songkickr/Event.html">Songkickr::Event</a></li>
|
74
|
+
|
75
|
+
<li><a href="./Songkickr/EventResult.html">Songkickr::EventResult</a></li>
|
76
|
+
|
77
|
+
<li><a href="./Songkickr/Location.html">Songkickr::Location</a></li>
|
78
|
+
|
79
|
+
<li><a href="./Songkickr/LocationResult.html">Songkickr::LocationResult</a></li>
|
80
|
+
|
81
|
+
<li><a href="./Songkickr/Performance.html">Songkickr::Performance</a></li>
|
82
|
+
|
83
|
+
<li><a href="./Songkickr/Remote.html">Songkickr::Remote</a></li>
|
84
|
+
|
85
|
+
<li><a href="./Songkickr/Setlist.html">Songkickr::Setlist</a></li>
|
86
|
+
|
87
|
+
<li><a href="./Songkickr/SetlistItem.html">Songkickr::SetlistItem</a></li>
|
88
|
+
|
89
|
+
<li><a href="./Songkickr/Venue.html">Songkickr::Venue</a></li>
|
90
|
+
|
91
|
+
<li><a href="./APIKeyNotSet.html">APIKeyNotSet</a></li>
|
92
|
+
|
93
|
+
</ul>
|
94
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
95
|
+
</div>
|
96
|
+
|
97
|
+
|
98
|
+
</div>
|
99
|
+
</div>
|
100
|
+
|
101
|
+
<div id="documentation">
|
102
|
+
|
103
|
+
<h1>songkickr</h1>
|
104
|
+
|
105
|
+
<p>A Ruby wrapper around the Songkick API. Visit <a
|
106
|
+
href="http://www.songkick.com/developer">www.songkick.com/developer</a> for
|
107
|
+
documentation on the Songkick API.</p>
|
108
|
+
|
109
|
+
<h1>Install Instructions</h1>
|
110
|
+
|
111
|
+
<pre>gem install songkickr</pre>
|
112
|
+
|
113
|
+
<p>or if your environment requires</p>
|
114
|
+
|
115
|
+
<pre>sudo gem install songkickr</pre>
|
116
|
+
|
117
|
+
<h1>Usage Instructions</h1>
|
118
|
+
|
119
|
+
<pre>require 'songkickr'
|
120
|
+
remote = Songkickr::Remote.new API_KEY</pre>
|
121
|
+
|
122
|
+
<p>Then call events, users_events(username), or concert_setlists(event_id)</p>
|
123
|
+
|
124
|
+
<pre>results = remote.events(:artist_name => 'Iron Maiden')
|
125
|
+
results = remote.events(:artist_name => 'As I Lay Dying')
|
126
|
+
|
127
|
+
results = remote.users_events('jrmehle')
|
128
|
+
|
129
|
+
results = remote.concert_setlists(2680726)
|
130
|
+
results = remote.concert_setlists(2894471)</pre>
|
131
|
+
|
132
|
+
<h2>Note on Patches/Pull Requests</h2>
|
133
|
+
<ul><li>
|
134
|
+
<p>Fork the project.</p>
|
135
|
+
</li><li>
|
136
|
+
<p>Make your feature addition or bug fix.</p>
|
137
|
+
</li><li>
|
138
|
+
<p>Add tests for it. This is important so I don’t break it in a future
|
139
|
+
version unintentionally.</p>
|
140
|
+
</li><li>
|
141
|
+
<p>Commit, do not mess with rakefile, version, or history. (if you want to
|
142
|
+
have your own version, that is fine but bump version in a commit by itself
|
143
|
+
I can ignore when I pull)</p>
|
144
|
+
</li><li>
|
145
|
+
<p>Send me a pull request. Bonus points for topic branches.</p>
|
146
|
+
</li></ul>
|
147
|
+
|
148
|
+
<h2>Copyright</h2>
|
149
|
+
|
150
|
+
<p>Copyright © 2010-2011 Jared Mehle. See <a href="LICENSE.html">LICENSE</a>
|
151
|
+
for details.</p>
|
152
|
+
|
153
|
+
<h2>Thanks</h2>
|
154
|
+
|
155
|
+
<p>Thanks to Akshay Dodeja and Tomasz Stachewicz for submitting code and pull
|
156
|
+
requests.</p>
|
157
|
+
|
158
|
+
<p>A special thank you to Jon Nunemaker for the httparty which is used
|
159
|
+
extensively within this gem and for the twitter gem as inspiration.</p>
|
160
|
+
|
161
|
+
</div>
|
162
|
+
|
163
|
+
<div id="validator-badges">
|
164
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
165
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
166
|
+
Rdoc Generator</a> 2</small>.</p>
|
167
|
+
</div>
|
168
|
+
</body>
|
169
|
+
</html>
|
170
|
+
|