Python GBIF Client

Low-level client for the GBIF API.

pygbif is split up into modules for each of the major groups of API methods.

Note that GBIF maps API is not included in pygbif.

Other GBIF clients:

Installation

pip install pygbif

Example Usage

You can import the entire library

import pygbif

Or each module individually as needed.

## Registry module
from pygbif import registry
registry.dataset_metrics(uuid='3f8a1297-3259-4700-91fc-acc4170b27ce')

## Species module
from pygbif import species
species.name_suggest(q='Puma concolor')

## Occurrences module
from pygbif import occurrences
occurrences.search(taxonKey = 3329049)
occurrences.get(taxonKey = 252408386)
occurrences.count(isGeoreferenced = True)

Contents

occurrences module

  • count
  • get
  • search

Load

from pygbif import occurrences

Example Usage

occurrences.search(taxonKey = 3329049)
occurrences.get(taxonKey = 252408386)
occurrences.count(isGeoreferenced = True)

registry module

  • datasets
  • nodes

Load

from pygbif import registry

Example Usage

registry.dataset_metrics(uuid='3f8a1297-3259-4700-91fc-acc4170b27ce')

species module

  • name_suggest
  • name_backbone

Load

from pygbif import species

Example Usage

species.name_suggest(q='Puma concolor')

License

MIT

Indices and tables