GBIF Python client
remove_expired_responses
method is deprecated #126 , #127isNull
, isNotNull
, in
and not
(#92)add_predicate
function and added add_pred_dict
to accomodate for newly supported predicates to ensure that the arguments that are sent are added in the payload function (#108)occurrences.download
when giving geometry
as a string rather than using add_geometry
; predicates were being split on whitespace, which doesn't work for WKT (#81) (#84)logging
module instead of print()
for giving information on occurrence download methods (#78)occurrences.count
for length 1 inputs only; see occurrences.search
for > 1 value (#75) (#77)species.name_usage
method, mostly for the language
parameter (#68)download_cancel
for cancelling/deleting a download request (#59)occurrences.search
now supports recordedByID
and identifiedByID
search parameters (#62)is
and ==
, was using them inappropriately sometimes (via https://realpython.com/python-is-identity-vs-equality/), (#69)gbif_GET_write
more general to avoid errors if GBIF changes content type response header slightly (#72)?pygbif.caching
for all the details (#52) (#56) via @nleguillarmespecies.name_backbone
is likely what you want (#55) thanks @qgroombool
, convert them to lowercase strings internally before doing HTTP requestswkt_rewind
(#46) thanks @aubreymoore for the inspirationidentifierTyp
instead of identifierType
(#48) thanks @data-biodiversity-aqgeometry
parameter (#35)occurrences.get
, and occurrences.get_verbatim
, occurrences.get_fragment
and demo that used occurrence keys that no longer exist in GBIF (#39)organizations
method to registry
module (#12)registry.dataset_search
(including faceting support (#37)) and registry.dataset_suggest
, for the /dataset/search
and /dataset/suggest
routes, respectively (#40)species.name_lookup
(including faceting support (#38)) and species.name_usage
, for the /species/search
and /species
routes, respectively (#18)species.name_suggest
to give back data stucture as received from GBIF. We used to parse out the classification data, but for simplicity and speed, that is left up to the user now.start
parameter in species.name_suggest
, occurrences.download_list
, registry.organizations
, registry.nodes
, registry.networks
, and registry.installations
, changed to offset
to match GBIF API and match usage throughout remainder of pygbif
occurrence.search
parameters, including repatriated
, kingdomKey
, phylumKey
, classKey
, orderKey
, familyKey
, genusKey
, subgenusKey
, establishmentMeans
, facet
, facetMincount
, facetMultiselect
, and support for facet paging via **kwargs
(#30) (#34)**kwargs
in occurrence.search
so that facet parameters can be parsed correctly and requests
GET request options are collected correctly (#36)spellCheck
parameter to occurrence.search
that goes along with the q
parameter to optionally spell check full text searches (#31)limit
value to 300 for occurrences.search
methodtox
now included, via @xrotwang (#20)requests
and pygbif
versions (#13)occurrences.download_get
(#23)occurrences.get
(#22)