Skip to content

Commit

Permalink
Minor updates to README and release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
JWCook committed Jun 16, 2020
1 parent ca95fd5 commit 8623120
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
9 changes: 5 additions & 4 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
History
-------

0.10.0 (2020-06-TBD)
^^^^^^^^^^^^^^^^^^^^
0.10.0 (2020-06-16)
^^^^^^^^^^^^^^^^^^^

* Added more info & examples to README for taxa endpoints
* Added more info & examples to README for taxa endpoints, and other documentation improvements
* Added `minify` option to `node_api.get_taxa_autocomplete()`
* Convert all date and datetime parameters to timezone-aware ISO 8601 timestamps
* Added conversion for all date and datetime parameters to timezone-aware ISO 8601 timestamps
* Added a dry-run mode to mock out API requests for testing
* Added 6 additional observation response formats, including GeoJSON, Darwin Core, and others
* Set up pre-release builds for latest development version

0.9.1 (2020-05-26)
^^^^^^^^^^^^^^^^^^
Expand Down
8 changes: 7 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,15 @@ but will be logged instead:

.. code-block:: python
>>> import logging
>>> import pyinaturalist
# Enable at least INFO-level logging
>>> logging.basicConfig(level='INFO')
>>> pyinaturalist.DRY_RUN_ENABLED = True
>>> get_taxa(q='warbler', locale=1)
{'results': ['nodata']}
{'results': [], 'total_results': 0}
INFO:pyinaturalist.api_requests:Request: GET, https://api.inaturalist.org/v1/taxa,
params={'q': 'warbler', 'locale': 1},
headers={'Accept': 'application/json', 'User-Agent': 'Pyinaturalist/0.9.1'}
Expand All @@ -293,6 +298,7 @@ instead:
.. code-block:: python
>>> pyinaturalist.DRY_RUN_WRITE_ONLY = True
# Also works as an environment variable
>>> import os
>>> os.environ["DRY_RUN_WRITE_ONLY"] = 'True'

0 comments on commit 8623120

Please sign in to comment.