met_museum 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +29 -10
- data/lib/met_museum/version.rb +1 -1
- data/met_museum.gemspec +1 -1
- metadata +3 -4
- data/bin/run_test_gem +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8afd0b090da2b4e328c13fe6e245b0d145ef799d2e29da04b92579142296ce2
|
4
|
+
data.tar.gz: 297fe7a29849870f039c072c23d3e6251b30b311296a585aeaba0af3365221ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0e4b0293c8118fb80b99770b1b4851784c49bc8bdee9571f686f09b8ba79849df5b858a679e3bbe76868592b702313c9c4a3d189dff07ce5de96815f8cccdd0
|
7
|
+
data.tar.gz: da3f8cd3f55bba38b473ed3c55227f1c967264ff1372bc0fc7a617d5bbd3e1b143e9bafbdadd057ddeb34c1fb67181ec9c668f25f04313514c5aec3c1cde5f25
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# MetMuseum
|
2
2
|
|
3
|
-
|
3
|
+
The Metropolitan Museum of Art Collection API Ruby wrapper
|
4
4
|
|
5
|
-
|
5
|
+
The API document is [here](https://metmuseum.github.io/)
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -22,17 +22,36 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
25
|
+
```
|
26
|
+
require 'met_museum'
|
27
|
+
|
28
|
+
MetMuseum::Collection.objects
|
29
|
+
=> {"total"=>490607,
|
30
|
+
"objectIDs"=>
|
31
|
+
[1,
|
32
|
+
2,
|
33
|
+
3,
|
34
|
+
4,
|
35
|
+
5,
|
36
|
+
6,
|
37
|
+
7,
|
38
|
+
8,
|
39
|
+
--< omit >--
|
40
|
+
490607}
|
41
|
+
|
42
|
+
MetMuseum::Collection.object(1000)
|
43
|
+
=> {"objectID"=>1000,
|
44
|
+
"isHighlight"=>false,
|
45
|
+
"accessionNumber"=>"10.149.99",
|
46
|
+
"isPublicDomain"=>true,
|
47
|
+
--< omit >--
|
48
|
+
"repository"=>"Metropolitan Museum of Art, New York, NY",
|
49
|
+
"objectURL"=>"https://www.metmuseum.org/art/collection/search/1000"}
|
50
|
+
```
|
32
51
|
|
33
52
|
## Contributing
|
34
53
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
54
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/hyuraku/met_museum. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
55
|
|
37
56
|
## License
|
38
57
|
|
data/lib/met_museum/version.rb
CHANGED
data/met_museum.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["calenthird@gamil.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{MET museum api wrapper}
|
13
|
-
spec.description = %q{
|
13
|
+
spec.description = %q{The Metropolitan Museum of Art Collection API Ruby wrapper }
|
14
14
|
spec.homepage = "https://github.com/hyuraku/met_museum"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: met_museum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hyuraku
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
description:
|
83
|
+
description: 'The Metropolitan Museum of Art Collection API Ruby wrapper '
|
84
84
|
email:
|
85
85
|
- calenthird@gamil.com
|
86
86
|
executables: []
|
@@ -97,7 +97,6 @@ files:
|
|
97
97
|
- README.md
|
98
98
|
- Rakefile
|
99
99
|
- bin/console
|
100
|
-
- bin/run_test_gem
|
101
100
|
- bin/setup
|
102
101
|
- lib/met_museum.rb
|
103
102
|
- lib/met_museum/collection.rb
|