Commit d78589db authored by Felip Manyer i Ballester's avatar Felip Manyer i Ballester
Browse files

Small fixes in README

parent 3ac1549c
Pipeline #89 passed with stages
in 5 seconds
......@@ -4,6 +4,12 @@ First attempt of a PHP client for the [GBIF API](https://www.gbif.org/developer/
A [Drupal module](https://www.drupal.org/project/gbif2) uses this client to enable users to list GBIF occurrences with the Views module on their websites.
## Installation
```
composer require restelae/php-gbif
```
## Usage
### Get an occurrence knowing its ID (key)
......@@ -33,7 +39,7 @@ $occ->search(['taxonKey' => 3329049]);
// Search by dataset key.
$occ->search([
'datasetKey' => '7b5d6a48-f762-11e1-a439-00145eb45e9a',
'limit' =>20,
'limit' => 20,
]);
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment