songkickr 0.3.3 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.bundle/config +2 -0
- data/.gitignore +1 -0
- data/.travis.yml +8 -0
- data/Gemfile.lock +42 -22
- data/LICENSE +1 -1
- data/README.rdoc +14 -9
- data/Rakefile +3 -4
- data/lib/songkickr/artist.rb +2 -2
- data/lib/songkickr/artist_result.rb +4 -24
- data/lib/songkickr/calendar_entry.rb +23 -0
- data/lib/songkickr/calendar_result.rb +10 -0
- data/lib/songkickr/concert_setlist_result.rb +5 -27
- data/lib/songkickr/event.rb +8 -14
- data/lib/songkickr/event_result.rb +5 -23
- data/lib/songkickr/location.rb +4 -4
- data/lib/songkickr/location_result.rb +5 -30
- data/lib/songkickr/metro_area.rb +28 -0
- data/lib/songkickr/metro_area_result.rb +12 -0
- data/lib/songkickr/performance.rb +17 -12
- data/lib/songkickr/remote.rb +18 -198
- data/lib/songkickr/remote_api/artist_details.rb +17 -0
- data/lib/songkickr/remote_api/event_details.rb +17 -0
- data/lib/songkickr/remote_api/past_events.rb +48 -0
- data/lib/songkickr/remote_api/similar_artists.rb +14 -0
- data/lib/songkickr/remote_api/upcoming_events.rb +125 -0
- data/lib/songkickr/remote_api/user_events_and_trackings.rb +143 -0
- data/lib/songkickr/remote_api/venue_details.rb +16 -0
- data/lib/songkickr/result_set.rb +27 -0
- data/lib/songkickr/setlist.rb +7 -12
- data/lib/songkickr/setlist_item.rb +1 -1
- data/lib/songkickr/tracking.rb +18 -0
- data/lib/songkickr/tracking_result.rb +24 -0
- data/lib/songkickr/venue.rb +10 -2
- data/lib/songkickr/venue_result.rb +32 -0
- data/lib/songkickr/version.rb +1 -1
- data/lib/songkickr.rb +24 -17
- data/songkickr.gemspec +17 -44
- data/test/fixtures/event_7391451.json +732 -1
- data/test/fixtures/location_search.json +38 -0
- data/test/fixtures/metro_area.json +11 -0
- data/test/fixtures/users_attendance_calendar.json +243 -0
- data/test/fixtures/vcr/artist_events.yml +1394 -0
- data/test/fixtures/vcr/artist_search.yml +38 -0
- data/test/fixtures/vcr/artists_gigography.yml +187 -0
- data/test/fixtures/vcr/concert_setlists.yml +47 -0
- data/test/fixtures/vcr/event_search.yml +110 -0
- data/test/fixtures/vcr/invalid_api_key.yml +6 -36
- data/test/fixtures/vcr/invalid_artist_id.yml +6 -6
- data/test/fixtures/vcr/invalid_event_id.yml +6 -6
- data/test/fixtures/vcr/invalid_user.yml +6 -6
- data/test/fixtures/vcr/invalid_venue_id.yml +6 -6
- data/test/fixtures/vcr/location_search.yml +42 -0
- data/test/fixtures/vcr/metro_areas_events.yml +1535 -0
- data/test/fixtures/vcr/similar_artists.yml +64 -0
- data/test/fixtures/vcr/users_artist_tracking.yml +99 -0
- data/test/fixtures/vcr/users_attendance.yml +66 -0
- data/test/fixtures/vcr/users_attendance_calendar.yml +51 -0
- data/test/fixtures/vcr/users_events.yml +809 -0
- data/test/fixtures/vcr/users_gigography.yml +2782 -0
- data/test/fixtures/vcr/users_metro_area_tracking.yml +66 -0
- data/test/fixtures/vcr/users_muted_artists.yml +66 -0
- data/test/fixtures/vcr/users_tracked_artists.yml +75 -0
- data/test/fixtures/vcr/users_tracked_events_calendar.yml +1901 -0
- data/test/fixtures/vcr/users_tracked_metro_areas.yml +37 -0
- data/test/fixtures/vcr/valid_artist.yml +9 -9
- data/test/fixtures/vcr/valid_event.yml +103 -38
- data/test/fixtures/vcr/valid_user.yml +634 -44
- data/test/fixtures/vcr/valid_venue.yml +25 -26
- data/test/fixtures/vcr/venue_calendar.yml +500 -0
- data/test/fixtures/vcr/venue_search.yml +42 -0
- data/test/helper.rb +1 -27
- data/test/songkickr/test_calendar_entry.rb +15 -0
- data/test/songkickr/test_event.rb +8 -9
- data/test/songkickr/test_location.rb +11 -11
- data/test/songkickr/test_metro_area.rb +17 -0
- data/test/songkickr/test_remote.rb +149 -3
- data/test/songkickr/test_setlist_item.rb +20 -0
- data/test/songkickr/test_venue.rb +1 -2
- data/test.rb +3 -5
- metadata +120 -152
- data/bin/autospec +0 -16
- data/bin/convert_to_should_syntax +0 -16
- data/bin/guard +0 -16
- data/bin/htmldiff +0 -16
- data/bin/httparty +0 -16
- data/bin/jeweler +0 -16
- data/bin/ldiff +0 -16
- data/bin/rake +0 -16
- data/bin/rake2thor +0 -16
- data/bin/rg +0 -16
- data/bin/ri +0 -16
- data/bin/rspec +0 -16
- data/bin/thor +0 -16
- data/doc/APIError.html +0 -241
- data/doc/APIKeyNotSet.html +0 -203
- data/doc/LICENSE.html +0 -133
- data/doc/README_rdoc.html +0 -173
- data/doc/ResourceNotFound.html +0 -203
- data/doc/Songkickr/Artist.html +0 -278
- data/doc/Songkickr/ArtistResult.html +0 -308
- data/doc/Songkickr/ConcertSetlistResult.html +0 -283
- data/doc/Songkickr/Event.html +0 -491
- data/doc/Songkickr/EventResult.html +0 -306
- data/doc/Songkickr/Location.html +0 -299
- data/doc/Songkickr/LocationResult.html +0 -309
- data/doc/Songkickr/Performance.html +0 -295
- data/doc/Songkickr/Remote.html +0 -864
- data/doc/Songkickr/Setlist.html +0 -360
- data/doc/Songkickr/SetlistItem.html +0 -244
- data/doc/Songkickr/Venue.html +0 -265
- data/doc/Songkickr.html +0 -261
- data/doc/created.rid +0 -16
- data/doc/images/add.png +0 -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/delete.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_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.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 +0 -110
- data/doc/js/darkfish.js +0 -153
- data/doc/js/jquery.js +0 -18
- data/doc/js/navigation.js +0 -142
- data/doc/js/quicksearch.js +0 -114
- data/doc/js/search.js +0 -94
- data/doc/js/search_index.js +0 -1
- data/doc/js/searcher.js +0 -228
- data/doc/js/thickbox-compressed.js +0 -10
- data/doc/lib/songkickr/artist_rb.html +0 -52
- data/doc/lib/songkickr/artist_result_rb.html +0 -52
- data/doc/lib/songkickr/concert_setlist_result_rb.html +0 -52
- data/doc/lib/songkickr/event_rb.html +0 -52
- data/doc/lib/songkickr/event_result_rb.html +0 -52
- data/doc/lib/songkickr/location_rb.html +0 -52
- data/doc/lib/songkickr/location_result_rb.html +0 -52
- data/doc/lib/songkickr/performance_rb.html +0 -52
- data/doc/lib/songkickr/remote_rb.html +0 -52
- data/doc/lib/songkickr/setlist_item_rb.html +0 -52
- data/doc/lib/songkickr/setlist_rb.html +0 -52
- data/doc/lib/songkickr/venue_rb.html +0 -52
- data/doc/lib/songkickr_rb.html +0 -56
- data/doc/rdoc.css +0 -543
- data/doc/table_of_contents.html +0 -185
- data/test/fixtures/locations_bar.json +0 -1
data/doc/README_rdoc.html
DELETED
@@ -1,173 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
-
|
7
|
-
<title>README - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
-
|
11
|
-
<script type="text/javascript">
|
12
|
-
var rdoc_rel_prefix = "./";
|
13
|
-
</script>
|
14
|
-
|
15
|
-
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
-
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
-
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
-
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
-
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
-
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
21
|
-
|
22
|
-
|
23
|
-
<body class="file">
|
24
|
-
<nav id="metadata">
|
25
|
-
<nav id="home-section" class="section">
|
26
|
-
<h3 class="section-header">
|
27
|
-
<a href="./index.html">Home</a>
|
28
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
-
</h3>
|
31
|
-
</nav>
|
32
|
-
|
33
|
-
|
34
|
-
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
-
<form action="#" method="get" accept-charset="utf-8">
|
36
|
-
<h3 class="section-header">
|
37
|
-
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
-
</h3>
|
40
|
-
</form>
|
41
|
-
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
-
</nav>
|
44
|
-
|
45
|
-
|
46
|
-
<div id="project-metadata">
|
47
|
-
<nav id="fileindex-section" class="section project-section">
|
48
|
-
<h3 class="section-header">Pages</h3>
|
49
|
-
|
50
|
-
<ul>
|
51
|
-
|
52
|
-
<li class="file"><a href="./LICENSE.html">LICENSE</a>
|
53
|
-
|
54
|
-
<li class="file"><a href="./README_rdoc.html">README</a>
|
55
|
-
|
56
|
-
</ul>
|
57
|
-
</nav>
|
58
|
-
|
59
|
-
<nav id="classindex-section" class="section project-section">
|
60
|
-
<h3 class="section-header">Class and Module Index</h3>
|
61
|
-
|
62
|
-
<ul class="link-list">
|
63
|
-
|
64
|
-
<li><a href="./Songkickr.html">Songkickr</a>
|
65
|
-
|
66
|
-
<li><a href="./Songkickr/Artist.html">Songkickr::Artist</a>
|
67
|
-
|
68
|
-
<li><a href="./Songkickr/ArtistResult.html">Songkickr::ArtistResult</a>
|
69
|
-
|
70
|
-
<li><a href="./Songkickr/ConcertSetlistResult.html">Songkickr::ConcertSetlistResult</a>
|
71
|
-
|
72
|
-
<li><a href="./Songkickr/Event.html">Songkickr::Event</a>
|
73
|
-
|
74
|
-
<li><a href="./Songkickr/EventResult.html">Songkickr::EventResult</a>
|
75
|
-
|
76
|
-
<li><a href="./Songkickr/Location.html">Songkickr::Location</a>
|
77
|
-
|
78
|
-
<li><a href="./Songkickr/LocationResult.html">Songkickr::LocationResult</a>
|
79
|
-
|
80
|
-
<li><a href="./Songkickr/Performance.html">Songkickr::Performance</a>
|
81
|
-
|
82
|
-
<li><a href="./Songkickr/Remote.html">Songkickr::Remote</a>
|
83
|
-
|
84
|
-
<li><a href="./Songkickr/Setlist.html">Songkickr::Setlist</a>
|
85
|
-
|
86
|
-
<li><a href="./Songkickr/SetlistItem.html">Songkickr::SetlistItem</a>
|
87
|
-
|
88
|
-
<li><a href="./Songkickr/Venue.html">Songkickr::Venue</a>
|
89
|
-
|
90
|
-
<li><a href="./APIError.html">APIError</a>
|
91
|
-
|
92
|
-
<li><a href="./APIKeyNotSet.html">APIKeyNotSet</a>
|
93
|
-
|
94
|
-
<li><a href="./ResourceNotFound.html">ResourceNotFound</a>
|
95
|
-
|
96
|
-
</ul>
|
97
|
-
</nav>
|
98
|
-
|
99
|
-
</div>
|
100
|
-
</nav>
|
101
|
-
|
102
|
-
<div id="documentation" class="description">
|
103
|
-
|
104
|
-
<h1 id="label-songkickr">songkickr</h1>
|
105
|
-
|
106
|
-
<p>A Ruby wrapper around the Songkick API. Visit <a
|
107
|
-
href="http://www.songkick.com/developer">www.songkick.com/developer</a> for
|
108
|
-
documentation on the Songkick API.</p>
|
109
|
-
|
110
|
-
<h1 id="label-Install+Instructions">Install Instructions</h1>
|
111
|
-
|
112
|
-
<pre>gem install songkickr</pre>
|
113
|
-
|
114
|
-
<p>or if your environment requires</p>
|
115
|
-
|
116
|
-
<pre>sudo gem install songkickr</pre>
|
117
|
-
|
118
|
-
<h1 id="label-Usage+Instructions">Usage Instructions</h1>
|
119
|
-
|
120
|
-
<pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">'songkickr'</span>
|
121
|
-
<span class="ruby-identifier">remote</span> = <span class="ruby-constant">Songkickr</span><span class="ruby-operator">::</span><span class="ruby-constant">Remote</span>.<span class="ruby-identifier">new</span> <span class="ruby-constant">API_KEY</span>
|
122
|
-
</pre>
|
123
|
-
|
124
|
-
<p>Then call events, users_events(username), or concert_setlists(event_id)</p>
|
125
|
-
|
126
|
-
<pre class="ruby"><span class="ruby-identifier">results</span> = <span class="ruby-identifier">remote</span>.<span class="ruby-identifier">events</span>(:<span class="ruby-identifier">query</span> =<span class="ruby-operator">></span> <span class="ruby-string">'Iron Maiden'</span>)
|
127
|
-
<span class="ruby-identifier">results</span> = <span class="ruby-identifier">remote</span>.<span class="ruby-identifier">events</span>(:<span class="ruby-identifier">query</span> =<span class="ruby-operator">></span> <span class="ruby-string">'As I Lay Dying'</span>)
|
128
|
-
|
129
|
-
<span class="ruby-identifier">results</span> = <span class="ruby-identifier">remote</span>.<span class="ruby-identifier">users_events</span>(<span class="ruby-string">'jrmehle'</span>)
|
130
|
-
|
131
|
-
<span class="ruby-identifier">results</span> = <span class="ruby-identifier">remote</span>.<span class="ruby-identifier">concert_setlists</span>(<span class="ruby-value">2680726</span>)
|
132
|
-
<span class="ruby-identifier">results</span> = <span class="ruby-identifier">remote</span>.<span class="ruby-identifier">concert_setlists</span>(<span class="ruby-value">2894471</span>)
|
133
|
-
</pre>
|
134
|
-
|
135
|
-
<h2 id="label-Note+on+Patches%2FPull+Requests">Note on Patches/Pull Requests</h2>
|
136
|
-
<ul><li>
|
137
|
-
<p>Fork the project.</p>
|
138
|
-
</li><li>
|
139
|
-
<p>Make your feature addition or bug fix.</p>
|
140
|
-
</li><li>
|
141
|
-
<p>Add tests for it. This is important so I don’t break it in a future version
|
142
|
-
unintentionally.</p>
|
143
|
-
</li><li>
|
144
|
-
<p>Commit, do not mess with rakefile, version, or history. (if you want to
|
145
|
-
have your own version, that is fine but bump version in a commit by itself
|
146
|
-
I can ignore when I pull)</p>
|
147
|
-
</li><li>
|
148
|
-
<p>Send me a pull request. Bonus points for topic branches.</p>
|
149
|
-
</li></ul>
|
150
|
-
|
151
|
-
<h2 id="label-Copyright">Copyright</h2>
|
152
|
-
|
153
|
-
<p>Copyright © 2010-2011 Jared Mehle. See <a href="LICENSE.html">LICENSE</a>
|
154
|
-
for details.</p>
|
155
|
-
|
156
|
-
<h2 id="label-Thanks">Thanks</h2>
|
157
|
-
|
158
|
-
<p>Thanks to Akshay Dodeja and Tomasz Stachewicz for submitting code and pull
|
159
|
-
requests.</p>
|
160
|
-
|
161
|
-
<p>A special thank you to Jon Nunemaker for the httparty which is used
|
162
|
-
extensively within this gem and for the twitter gem as inspiration.</p>
|
163
|
-
|
164
|
-
</div>
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
<footer id="validator-badges">
|
169
|
-
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
170
|
-
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
171
|
-
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
172
|
-
</footer>
|
173
|
-
|
data/doc/ResourceNotFound.html
DELETED
@@ -1,203 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
-
|
7
|
-
<title>class ResourceNotFound - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
|
-
|
11
|
-
<script type="text/javascript">
|
12
|
-
var rdoc_rel_prefix = "./";
|
13
|
-
</script>
|
14
|
-
|
15
|
-
<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
|
16
|
-
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
|
17
|
-
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
|
18
|
-
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
|
19
|
-
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
|
20
|
-
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
|
21
|
-
|
22
|
-
|
23
|
-
<body id="top" class="class">
|
24
|
-
<nav id="metadata">
|
25
|
-
<nav id="home-section" class="section">
|
26
|
-
<h3 class="section-header">
|
27
|
-
<a href="./index.html">Home</a>
|
28
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
29
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
30
|
-
</h3>
|
31
|
-
</nav>
|
32
|
-
|
33
|
-
|
34
|
-
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
-
<form action="#" method="get" accept-charset="utf-8">
|
36
|
-
<h3 class="section-header">
|
37
|
-
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
-
</h3>
|
40
|
-
</form>
|
41
|
-
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
-
</nav>
|
44
|
-
|
45
|
-
|
46
|
-
<div id="file-metadata">
|
47
|
-
<nav id="file-list-section" class="section">
|
48
|
-
<h3 class="section-header">Defined In</h3>
|
49
|
-
<ul>
|
50
|
-
<li>lib/songkickr.rb
|
51
|
-
</ul>
|
52
|
-
</nav>
|
53
|
-
|
54
|
-
|
55
|
-
</div>
|
56
|
-
|
57
|
-
<div id="class-metadata">
|
58
|
-
|
59
|
-
<nav id="parent-class-section" class="section">
|
60
|
-
<h3 class="section-header">Parent</h3>
|
61
|
-
|
62
|
-
<p class="link"><a href="APIError.html">APIError</a>
|
63
|
-
|
64
|
-
</nav>
|
65
|
-
|
66
|
-
|
67
|
-
<!-- Method Quickref -->
|
68
|
-
<nav id="method-list-section" class="section">
|
69
|
-
<h3 class="section-header">Methods</h3>
|
70
|
-
|
71
|
-
<ul class="link-list">
|
72
|
-
|
73
|
-
<li><a href="#method-i-to_s">#to_s</a>
|
74
|
-
|
75
|
-
</ul>
|
76
|
-
</nav>
|
77
|
-
|
78
|
-
</div>
|
79
|
-
|
80
|
-
<div id="project-metadata">
|
81
|
-
<nav id="fileindex-section" class="section project-section">
|
82
|
-
<h3 class="section-header">Pages</h3>
|
83
|
-
|
84
|
-
<ul>
|
85
|
-
|
86
|
-
<li class="file"><a href="./LICENSE.html">LICENSE</a>
|
87
|
-
|
88
|
-
<li class="file"><a href="./README_rdoc.html">README</a>
|
89
|
-
|
90
|
-
</ul>
|
91
|
-
</nav>
|
92
|
-
|
93
|
-
<nav id="classindex-section" class="section project-section">
|
94
|
-
<h3 class="section-header">Class and Module Index</h3>
|
95
|
-
|
96
|
-
<ul class="link-list">
|
97
|
-
|
98
|
-
<li><a href="./Songkickr.html">Songkickr</a>
|
99
|
-
|
100
|
-
<li><a href="./Songkickr/Artist.html">Songkickr::Artist</a>
|
101
|
-
|
102
|
-
<li><a href="./Songkickr/ArtistResult.html">Songkickr::ArtistResult</a>
|
103
|
-
|
104
|
-
<li><a href="./Songkickr/ConcertSetlistResult.html">Songkickr::ConcertSetlistResult</a>
|
105
|
-
|
106
|
-
<li><a href="./Songkickr/Event.html">Songkickr::Event</a>
|
107
|
-
|
108
|
-
<li><a href="./Songkickr/EventResult.html">Songkickr::EventResult</a>
|
109
|
-
|
110
|
-
<li><a href="./Songkickr/Location.html">Songkickr::Location</a>
|
111
|
-
|
112
|
-
<li><a href="./Songkickr/LocationResult.html">Songkickr::LocationResult</a>
|
113
|
-
|
114
|
-
<li><a href="./Songkickr/Performance.html">Songkickr::Performance</a>
|
115
|
-
|
116
|
-
<li><a href="./Songkickr/Remote.html">Songkickr::Remote</a>
|
117
|
-
|
118
|
-
<li><a href="./Songkickr/Setlist.html">Songkickr::Setlist</a>
|
119
|
-
|
120
|
-
<li><a href="./Songkickr/SetlistItem.html">Songkickr::SetlistItem</a>
|
121
|
-
|
122
|
-
<li><a href="./Songkickr/Venue.html">Songkickr::Venue</a>
|
123
|
-
|
124
|
-
<li><a href="./APIError.html">APIError</a>
|
125
|
-
|
126
|
-
<li><a href="./APIKeyNotSet.html">APIKeyNotSet</a>
|
127
|
-
|
128
|
-
<li><a href="./ResourceNotFound.html">ResourceNotFound</a>
|
129
|
-
|
130
|
-
</ul>
|
131
|
-
</nav>
|
132
|
-
|
133
|
-
</div>
|
134
|
-
</nav>
|
135
|
-
|
136
|
-
<div id="documentation">
|
137
|
-
<h1 class="class">class ResourceNotFound</h1>
|
138
|
-
|
139
|
-
<div id="description" class="description">
|
140
|
-
|
141
|
-
</div><!-- description -->
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
<!-- Methods -->
|
156
|
-
|
157
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
|
158
|
-
<h3 class="section-header">Public Instance Methods</h3>
|
159
|
-
|
160
|
-
|
161
|
-
<div id="method-i-to_s" class="method-detail ">
|
162
|
-
|
163
|
-
<div class="method-heading">
|
164
|
-
<span class="method-name">to_s</span><span
|
165
|
-
class="method-args">()</span>
|
166
|
-
<span class="method-click-advice">click to toggle source</span>
|
167
|
-
</div>
|
168
|
-
|
169
|
-
|
170
|
-
<div class="method-description">
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
<div class="method-source-code" id="to_s-source">
|
177
|
-
<pre><span class="ruby-comment"># File lib/songkickr.rb, line 38</span>
|
178
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_s</span>
|
179
|
-
<span class="ruby-string">"Resource not found"</span>
|
180
|
-
<span class="ruby-keyword">end</span></pre>
|
181
|
-
</div><!-- to_s-source -->
|
182
|
-
|
183
|
-
</div>
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
</div><!-- to_s-method -->
|
189
|
-
|
190
|
-
|
191
|
-
</section><!-- public-instance-method-details -->
|
192
|
-
|
193
|
-
</section><!-- 5Buntitled-5D -->
|
194
|
-
|
195
|
-
</div><!-- documentation -->
|
196
|
-
|
197
|
-
|
198
|
-
<footer id="validator-badges">
|
199
|
-
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
200
|
-
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
201
|
-
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
202
|
-
</footer>
|
203
|
-
|
data/doc/Songkickr/Artist.html
DELETED
@@ -1,278 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
|
-
|
7
|
-
<title>class Songkickr::Artist - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
|
10
|
-
|
11
|
-
<script type="text/javascript">
|
12
|
-
var rdoc_rel_prefix = "../";
|
13
|
-
</script>
|
14
|
-
|
15
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
16
|
-
<script type="text/javascript" charset="utf-8" src="../js/navigation.js"></script>
|
17
|
-
<script type="text/javascript" charset="utf-8" src="../js/search_index.js"></script>
|
18
|
-
<script type="text/javascript" charset="utf-8" src="../js/search.js"></script>
|
19
|
-
<script type="text/javascript" charset="utf-8" src="../js/searcher.js"></script>
|
20
|
-
<script type="text/javascript" charset="utf-8" src="../js/darkfish.js"></script>
|
21
|
-
|
22
|
-
|
23
|
-
<body id="top" class="class">
|
24
|
-
<nav id="metadata">
|
25
|
-
<nav id="home-section" class="section">
|
26
|
-
<h3 class="section-header">
|
27
|
-
<a href="../index.html">Home</a>
|
28
|
-
<a href="../table_of_contents.html#classes">Classes</a>
|
29
|
-
<a href="../table_of_contents.html#methods">Methods</a>
|
30
|
-
</h3>
|
31
|
-
</nav>
|
32
|
-
|
33
|
-
|
34
|
-
<nav id="search-section" class="section project-section" class="initially-hidden">
|
35
|
-
<form action="#" method="get" accept-charset="utf-8">
|
36
|
-
<h3 class="section-header">
|
37
|
-
<input type="text" name="search" placeholder="Search" id="search-field"
|
38
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
39
|
-
</h3>
|
40
|
-
</form>
|
41
|
-
|
42
|
-
<ul id="search-results" class="initially-hidden"></ul>
|
43
|
-
</nav>
|
44
|
-
|
45
|
-
|
46
|
-
<div id="file-metadata">
|
47
|
-
<nav id="file-list-section" class="section">
|
48
|
-
<h3 class="section-header">Defined In</h3>
|
49
|
-
<ul>
|
50
|
-
<li>lib/songkickr/artist.rb
|
51
|
-
</ul>
|
52
|
-
</nav>
|
53
|
-
|
54
|
-
|
55
|
-
</div>
|
56
|
-
|
57
|
-
<div id="class-metadata">
|
58
|
-
|
59
|
-
<nav id="parent-class-section" class="section">
|
60
|
-
<h3 class="section-header">Parent</h3>
|
61
|
-
|
62
|
-
<p class="link">Object
|
63
|
-
|
64
|
-
</nav>
|
65
|
-
|
66
|
-
|
67
|
-
<!-- Method Quickref -->
|
68
|
-
<nav id="method-list-section" class="section">
|
69
|
-
<h3 class="section-header">Methods</h3>
|
70
|
-
|
71
|
-
<ul class="link-list">
|
72
|
-
|
73
|
-
<li><a href="#method-c-new">::new</a>
|
74
|
-
|
75
|
-
</ul>
|
76
|
-
</nav>
|
77
|
-
|
78
|
-
</div>
|
79
|
-
|
80
|
-
<div id="project-metadata">
|
81
|
-
<nav id="fileindex-section" class="section project-section">
|
82
|
-
<h3 class="section-header">Pages</h3>
|
83
|
-
|
84
|
-
<ul>
|
85
|
-
|
86
|
-
<li class="file"><a href="../LICENSE.html">LICENSE</a>
|
87
|
-
|
88
|
-
<li class="file"><a href="../README_rdoc.html">README</a>
|
89
|
-
|
90
|
-
</ul>
|
91
|
-
</nav>
|
92
|
-
|
93
|
-
<nav id="classindex-section" class="section project-section">
|
94
|
-
<h3 class="section-header">Class and Module Index</h3>
|
95
|
-
|
96
|
-
<ul class="link-list">
|
97
|
-
|
98
|
-
<li><a href="../Songkickr.html">Songkickr</a>
|
99
|
-
|
100
|
-
<li><a href="../Songkickr/Artist.html">Songkickr::Artist</a>
|
101
|
-
|
102
|
-
<li><a href="../Songkickr/ArtistResult.html">Songkickr::ArtistResult</a>
|
103
|
-
|
104
|
-
<li><a href="../Songkickr/ConcertSetlistResult.html">Songkickr::ConcertSetlistResult</a>
|
105
|
-
|
106
|
-
<li><a href="../Songkickr/Event.html">Songkickr::Event</a>
|
107
|
-
|
108
|
-
<li><a href="../Songkickr/EventResult.html">Songkickr::EventResult</a>
|
109
|
-
|
110
|
-
<li><a href="../Songkickr/Location.html">Songkickr::Location</a>
|
111
|
-
|
112
|
-
<li><a href="../Songkickr/LocationResult.html">Songkickr::LocationResult</a>
|
113
|
-
|
114
|
-
<li><a href="../Songkickr/Performance.html">Songkickr::Performance</a>
|
115
|
-
|
116
|
-
<li><a href="../Songkickr/Remote.html">Songkickr::Remote</a>
|
117
|
-
|
118
|
-
<li><a href="../Songkickr/Setlist.html">Songkickr::Setlist</a>
|
119
|
-
|
120
|
-
<li><a href="../Songkickr/SetlistItem.html">Songkickr::SetlistItem</a>
|
121
|
-
|
122
|
-
<li><a href="../Songkickr/Venue.html">Songkickr::Venue</a>
|
123
|
-
|
124
|
-
<li><a href="../APIError.html">APIError</a>
|
125
|
-
|
126
|
-
<li><a href="../APIKeyNotSet.html">APIKeyNotSet</a>
|
127
|
-
|
128
|
-
<li><a href="../ResourceNotFound.html">ResourceNotFound</a>
|
129
|
-
|
130
|
-
</ul>
|
131
|
-
</nav>
|
132
|
-
|
133
|
-
</div>
|
134
|
-
</nav>
|
135
|
-
|
136
|
-
<div id="documentation">
|
137
|
-
<h1 class="class">class Songkickr::Artist</h1>
|
138
|
-
|
139
|
-
<div id="description" class="description">
|
140
|
-
|
141
|
-
<p>A single artist</p>
|
142
|
-
|
143
|
-
<pre>{
|
144
|
-
"uri":"http://www.songkick.com/artists/253846-radiohead",
|
145
|
-
"displayName":"Radiohead",
|
146
|
-
"id":253846,
|
147
|
-
"onTourUntil":"2010-01-01"
|
148
|
-
}</pre>
|
149
|
-
|
150
|
-
<p><a
|
151
|
-
href="http://www.songkick.com/developer/artist-search">www.songkick.com/developer/artist-search</a></p>
|
152
|
-
|
153
|
-
</div><!-- description -->
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
<!-- Attributes -->
|
167
|
-
<section id="attribute-method-details" class="method-section section">
|
168
|
-
<h3 class="section-header">Attributes</h3>
|
169
|
-
|
170
|
-
|
171
|
-
<div id="attribute-i-display_name" class="method-detail">
|
172
|
-
<div class="method-heading attribute-method-heading">
|
173
|
-
<span class="method-name">display_name</span><span
|
174
|
-
class="attribute-access-type">[RW]</span>
|
175
|
-
</div>
|
176
|
-
|
177
|
-
<div class="method-description">
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
</div>
|
182
|
-
</div>
|
183
|
-
|
184
|
-
<div id="attribute-i-id" class="method-detail">
|
185
|
-
<div class="method-heading attribute-method-heading">
|
186
|
-
<span class="method-name">id</span><span
|
187
|
-
class="attribute-access-type">[RW]</span>
|
188
|
-
</div>
|
189
|
-
|
190
|
-
<div class="method-description">
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
</div>
|
195
|
-
</div>
|
196
|
-
|
197
|
-
<div id="attribute-i-on_tour_until" class="method-detail">
|
198
|
-
<div class="method-heading attribute-method-heading">
|
199
|
-
<span class="method-name">on_tour_until</span><span
|
200
|
-
class="attribute-access-type">[RW]</span>
|
201
|
-
</div>
|
202
|
-
|
203
|
-
<div class="method-description">
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
</div>
|
208
|
-
</div>
|
209
|
-
|
210
|
-
<div id="attribute-i-uri" class="method-detail">
|
211
|
-
<div class="method-heading attribute-method-heading">
|
212
|
-
<span class="method-name">uri</span><span
|
213
|
-
class="attribute-access-type">[RW]</span>
|
214
|
-
</div>
|
215
|
-
|
216
|
-
<div class="method-description">
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
</div>
|
221
|
-
</div>
|
222
|
-
|
223
|
-
</section><!-- attribute-method-details -->
|
224
|
-
|
225
|
-
|
226
|
-
<!-- Methods -->
|
227
|
-
|
228
|
-
<section id="public-class-5Buntitled-5D-method-details" class="method-section section">
|
229
|
-
<h3 class="section-header">Public Class Methods</h3>
|
230
|
-
|
231
|
-
|
232
|
-
<div id="method-c-new" class="method-detail ">
|
233
|
-
|
234
|
-
<div class="method-heading">
|
235
|
-
<span class="method-name">new</span><span
|
236
|
-
class="method-args">(artist_hash = {})</span>
|
237
|
-
<span class="method-click-advice">click to toggle source</span>
|
238
|
-
</div>
|
239
|
-
|
240
|
-
|
241
|
-
<div class="method-description">
|
242
|
-
|
243
|
-
<p>Accepts a hash of artist attributes.</p>
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
<div class="method-source-code" id="new-source">
|
248
|
-
<pre><span class="ruby-comment"># File lib/songkickr/artist.rb, line 16</span>
|
249
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">artist_hash</span> = {})
|
250
|
-
<span class="ruby-ivar">@uri</span> = <span class="ruby-identifier">artist_hash</span>[<span class="ruby-string">"uri"</span>]
|
251
|
-
<span class="ruby-ivar">@display_name</span> = <span class="ruby-identifier">artist_hash</span>[<span class="ruby-string">"displayName"</span>]
|
252
|
-
<span class="ruby-ivar">@id</span> = <span class="ruby-identifier">artist_hash</span>[<span class="ruby-string">"id"</span>]
|
253
|
-
<span class="ruby-ivar">@uri</span> = <span class="ruby-identifier">artist_hash</span>[<span class="ruby-string">"uri"</span>]
|
254
|
-
<span class="ruby-ivar">@on_tour_until</span> = <span class="ruby-identifier">artist_hash</span>[<span class="ruby-string">"onTourUntil"</span>]
|
255
|
-
<span class="ruby-keyword">end</span></pre>
|
256
|
-
</div><!-- new-source -->
|
257
|
-
|
258
|
-
</div>
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
</div><!-- new-method -->
|
264
|
-
|
265
|
-
|
266
|
-
</section><!-- public-class-method-details -->
|
267
|
-
|
268
|
-
</section><!-- 5Buntitled-5D -->
|
269
|
-
|
270
|
-
</div><!-- documentation -->
|
271
|
-
|
272
|
-
|
273
|
-
<footer id="validator-badges">
|
274
|
-
<p><a href="http://validator.w3.org/check/referer">[Validate]</a>
|
275
|
-
<p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
|
276
|
-
<p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
|
277
|
-
</footer>
|
278
|
-
|