arcgis-opendata 0.0.6.3 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60138b05e27da6ae4b594f7e9163ec8948857c67
|
4
|
+
data.tar.gz: a2147ca4484465843d83571a59c37f8b44d9bdcd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82ee6831e97d899add047a487b3a91526de3ecfbd85fe3989ef9b58aa7ef9a8a16224fdbf81aeed9b9534467e853f10c019749c2b2f9a63aa577b8f3d7e899e9
|
7
|
+
data.tar.gz: d621db0cc6fecaa626bf9e0a9d224d0b1da812a6efa289d526f14c5c1cc1be17b539cbd2710374e3111f65208782aec6cee97838888cc5df19a45ce55ea7f3ca
|
data/README.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
## TODO
|
6
6
|
|
7
7
|
- use webmock + vcr or some alternative strategy for mocking http calls
|
8
|
+
- add GET requests for groups, sites, organizations, and pages resources
|
8
9
|
|
9
10
|
## Installation
|
10
11
|
|
@@ -66,7 +67,6 @@ Parameters supported for `dataset_show`
|
|
66
67
|
| include | String | comma-separate list of resources to 'side-load' | `client#dataset_list(include: 'organizations,sites')` |
|
67
68
|
| fields | nested | allows the client to specify a subset of attributes to be returned by the API | `client#dataset_list(fields: { datasets: 'title,url'})` |
|
68
69
|
|
69
|
-
|
70
70
|
Make queries for datasets
|
71
71
|
|
72
72
|
```ruby
|
@@ -88,9 +88,9 @@ response = client.dataset_show('4df13_11', include: 'organizations,groups')
|
|
88
88
|
|
89
89
|
### Learn how the parameters turn into request urls
|
90
90
|
|
91
|
-
If you're curious about how
|
92
|
-
based on the parameters you pass in. I'm a fan of not completely
|
93
|
-
|
91
|
+
If you're curious about how the parameters you pass to `dataset_list` and `dataset_show` are turned into API calls there are public methods that return the urls that
|
92
|
+
would be sent based on the parameters you pass in. I'm a fan of not completely obscuring the underlying web API so thera are built-in public methods to learn how
|
93
|
+
the parameters turn into request urls. Some examples are below.
|
94
94
|
|
95
95
|
```ruby
|
96
96
|
client = Opendata.new('https://opendata.arcgis.com')
|
@@ -110,7 +110,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
110
110
|
|
111
111
|
## Contributing
|
112
112
|
|
113
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
113
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/esridc/arcgis-opendata.rb.
|
114
114
|
|
115
115
|
|
116
116
|
## License
|
data/lib/version.rb
CHANGED