sckott / gbifrb Goto Github PK
View Code? Open in Web Editor NEWGBIF Ruby client; docs: http://www.rubydoc.info/gems/gbifrb/0.1.0
License: MIT License
GBIF Ruby client; docs: http://www.rubydoc.info/gems/gbifrb/0.1.0
License: MIT License
As a developer I want a wrapper for the collections endpoint. API
Params:
Personal priorities:
/grscicoll/collection
/grscicoll/collection/suggest
/grscicoll/collection/{UUID}/identifier
/grscicoll/collection/deleted
/grscicoll/collection/{UUID}/tag
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler found conflicting requirements for the Ruby version:
In Gemfile:
Ruby (~> 2.0.0.0)
faraday (~> 1.1) was resolved to 1.4.1, which depends on
Ruby (>= 2.4)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
The following params on the Species name_usage
method are not supported and do not work:
These parameters are not listed for this search method on https://www.gbif.org/developer/species
Details on each below, and a PR forthcoming.
key
I cannot seem to find any key that has any effect when passed in here. The result set always begins with taxonID=>gbif:0 and seems to include everything.
data
I saved the results for:
https://api.gbif.org/v1/species?name=Puma%20concolor
and
https://api.gbif.org/v1/species?name=Puma%20concolor&data=all
The files were identical when diffed.
uuid
The comments in the code say this should work the same as datasetKey
test = species.name_usage(name: 'Andropogon', datasetKey: '3f8a1297-3259-4700-91fc-acc4170b27ce')
test['results'].length
=> 2
test['results'].each{ |r| puts r['key'] }
100015804
100015805
But it does not:
test = species.name_usage(name: 'Andropogon', uuid: '3f8a1297-3259-4700-91fc-acc4170b27ce')
test['results'].length
=> 89
test['results'].first['key']
=> 2706077
test['results'].last['key']
=> 181589405
It has no effect, and produces the same results as passing only the name
parameter:
test = species.name_usage(name: 'Andropogon')
test['results'].length
=> 89
test['results'].first['key']
=> 2706077
test['results'].last['key']
=> 181589405
rank
Does not seem to have any effect:
test = species.name_usage(name: 'Helianthus', rank: 'SPECIES')
test['results'].map{ |t| t['rank'] }.tally
=> {"GENUS"=>64, nil=>2, "SPECIES"=>2}
test = species.name_usage(name: 'Helianthus')
test['results'].length
=> 68
shortname
The comments in the code say: A short name..need more info on this?
I'm not seeing it documented in the Species API at all. It's referenced in terms of the /species/root/{uuid|shortname}
route, but that is not the root being used by this name_usage
method.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler found conflicting requirements for the Ruby version:
In Gemfile:
Ruby (~> 2.0.0.0)
faraday (~> 1.1) was resolved to 1.4.1, which depends on
Ruby (>= 2.4)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler found conflicting requirements for the Ruby version:
In Gemfile:
Ruby (~> 2.0.0.0)
faraday (~> 1.1) was resolved to 1.3.0, which depends on
Ruby (>= 2.4)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler found conflicting requirements for the Ruby version:
In Gemfile:
Ruby (~> 2.0.0.0)
faraday (~> 1.1) was resolved to 1.4.0, which depends on
Ruby (>= 2.4)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Dependabot can't resolve your Ruby dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Bundler::VersionConflict with message: Bundler found conflicting requirements for the Ruby version:
In Gemfile:
Ruby (~> 2.0.0.0)
rake (~> 13.0, >= 13.0.1) was resolved to 13.0.3, which depends on
Ruby (>= 2.2)
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.