Method: Gbif::Species.name_lookup
- Defined in:
- lib/gbifrb/Species.rb
.name_lookup(q: nil, rank: nil, higherTaxonKey: nil, status: nil, isExtinct: nil, habitat: nil, nameType: nil, datasetKey: nil, nomenclaturalStatus: nil, limit: 100, offset: nil, facet: false, facetMincount: nil, facetMultiselect: nil, type: nil, hl: false, verbosity: false, verbose: nil, options: nil) ⇒ Hash
Search the GBIF full text
187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 |
# File 'lib/gbifrb/Species.rb', line 187 def self.name_lookup(q: nil, rank: nil, higherTaxonKey: nil, status: nil, isExtinct: nil, habitat: nil, nameType: nil, datasetKey: nil, nomenclaturalStatus: nil, limit: 100, offset: nil, facet: false, facetMincount: nil, facetMultiselect: nil, type: nil, hl: false, verbosity: false, verbose: nil, options: nil) arguments = { q: q, rank: rank, higherTaxonKey: higherTaxonKey, status: status, isExtinct: isExtinct, habitat: habitat, nameType: nameType, datasetKey: datasetKey, nomenclaturalStatus: nomenclaturalStatus, limit: limit, offset: offset, facet: facet, facetMincount: facetMincount, facetMultiselect: facetMultiselect, type: type, hl: hl, verbose: verbosity }.tostrings opts = arguments.delete_if { |k, v| v.nil? } Request.new("species/search", opts, verbose, ).perform end |