songkick_ruby 1.1.4 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/songkick/client/calendar.rb +12 -0
- data/lib/songkick/client/search.rb +5 -0
- data/songkick_ruby.gemspec +1 -1
- metadata +7 -7
@@ -44,6 +44,18 @@ module Songkick
|
|
44
44
|
get "users/#{username}/calendar.#{format}", page
|
45
45
|
end
|
46
46
|
|
47
|
+
# Find upcoming events for a venue
|
48
|
+
#
|
49
|
+
# Example:
|
50
|
+
# sg = Songkick.new("myapikey")
|
51
|
+
# or events = sg.usersvenue_calendar(123)
|
52
|
+
#
|
53
|
+
# The first argument is the venue_id
|
54
|
+
# and the second argument is the page number,
|
55
|
+
# by default it is set to 1
|
56
|
+
def venue_calendar(venue_id, page = 1)
|
57
|
+
get "users/#{venue_id}/venues.#{format}", page
|
58
|
+
end
|
47
59
|
end
|
48
60
|
end
|
49
61
|
end
|
data/songkick_ruby.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: songkick_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 31
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 1.
|
8
|
+
- 2
|
9
|
+
- 0
|
10
|
+
version: 1.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Gregory Marcilhacy
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-12-15 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
requirements: []
|
84
84
|
|
85
85
|
rubyforge_project:
|
86
|
-
rubygems_version: 1.
|
86
|
+
rubygems_version: 1.6.2
|
87
87
|
signing_key:
|
88
88
|
specification_version: 3
|
89
89
|
summary: Ruby wrapper of the songkick api
|