bands_in_town_api_client 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/bands_in_town_api_client.gemspec +1 -1
- data/lib/bands_in_town_api_client.rb +2 -2
- data/lib/bands_in_town_api_client/version.rb +1 -1
- data/spec/bands_in_town_spec.rb +0 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19868a114cec428331a0816b4c4e86bee37a1a84
|
4
|
+
data.tar.gz: a5c9eb295d96ce0db48f94b332f9c7e13fe774e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebd31ea43b04a8a2a787d9b25ee1d58d7f07fc75af7f51b47f969bc904698f102a9a52813bfa0cb136c4821dfd1ff7d866c5c672bf41a2a40407f1c824db7c3e
|
7
|
+
data.tar.gz: 35ac8a00970cf19405210bcc5fb0e8935f498a1a37c6341dbc4d75dbe37aee165e8c0f8df5ed42ed5de15f8c7a184c8c1d1a10a081180209f45cbc7416be3863
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# BandsInTownApiClient
|
2
2
|
|
3
|
-
This gem provides a light weight wrapper for the Bands In Town event API. Currently it allows you to get all events for a particular band with ease. Later it will allow for all other Bands In Town requests such as band info and event searching.
|
3
|
+
This gem provides a light weight wrapper for the Bands In Town event API. Currently it allows you to get all events for a particular band with ease. Later it will allow for all other Bands In Town requests such as band info and event searching.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -28,6 +28,8 @@ events = BandsInTownApiClient::Client.new("Skrillex", "YOUR_CLIENT_ID").events
|
|
28
28
|
```
|
29
29
|
YOUR_CLIENT_ID can be any unique identifier of your choosing. No registration is required.
|
30
30
|
|
31
|
+
Please enjoy!
|
32
|
+
|
31
33
|
## TODO
|
32
34
|
|
33
35
|
1. Add implantation for other API requests such as band info and event search
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["tyrel@thetyrelcorporation.com"]
|
11
11
|
spec.homepage = "https://github.com/thetyrelcorporation/bands_in_town_api_client"
|
12
12
|
spec.summary = %q{Interfaces with the Bands In Town API.}
|
13
|
-
spec.description = %q{Provides a light weight wrapper to easily request
|
13
|
+
spec.description = %q{Provides a light weight wrapper to easily request the Bands In Town API and recieve an easy to use hash}
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
@@ -10,8 +10,8 @@ module BandsInTownApiClient
|
|
10
10
|
@client_id = client_id
|
11
11
|
end
|
12
12
|
|
13
|
-
def events
|
14
|
-
request = Request.new( :events, @artist_id, @client_id,
|
13
|
+
def events
|
14
|
+
request = Request.new( :events, @artist_id, @client_id, :json)
|
15
15
|
request.response
|
16
16
|
end
|
17
17
|
end
|
data/spec/bands_in_town_spec.rb
CHANGED
@@ -6,10 +6,6 @@ describe BandsInTownApiClient::Client do
|
|
6
6
|
should_array = BandsInTownApiClient::Client.new("Skrillex", "SomeClient").events.class
|
7
7
|
expect(should_array).to eq(Array)
|
8
8
|
end
|
9
|
-
it "Should work with xml" do
|
10
|
-
should_array = BandsInTownApiClient::Client.new("Skrillex", "SomeClient").events(:xml).class
|
11
|
-
expect(should_array).to eq(Hash)
|
12
|
-
end
|
13
9
|
end
|
14
10
|
end
|
15
11
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bands_in_town_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thetyrelcorporation
|
@@ -52,8 +52,8 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
description: Provides a light weight wrapper to easily request
|
56
|
-
|
55
|
+
description: Provides a light weight wrapper to easily request the Bands In Town API
|
56
|
+
and recieve an easy to use hash
|
57
57
|
email:
|
58
58
|
- tyrel@thetyrelcorporation.com
|
59
59
|
executables: []
|