History¶
0.11.0 (2020-11-04)¶
New Endpoints¶
Added new functions for Node API Places endpoints:
get_places_by_id()
get_places_nearby()
get_places_autocomplete()
Added new functions for Node API Projects endpoints:
get_projects()
get_projects_by_id()
Added new function for an additional Node API Observation endpoint:
get_observation_species_counts()
get_all_observation_species_counts()
Modified Endpoints¶
Added support for simplified observation field syntax (
observation_fields={id: value}
) forcreate_observations()
andupdate_observation()
Updated
node_api.get_taxa_by_id()
to accept multiple IDsUpdated
rest_api.get_observations()
with type conversion from strings to floats for response lat/long coordinates. Only applies to JSON response format.Updated
node_api.get_taxa_autocomplete()
with optionalmin_rank
andmax_rank
parameters, for consistency withget_taxa()
Using the
params
positional argument for the handful of functions that used it will raise aDeprecationWarning
, but will otherwise still be functional until0.12
Renamed
search_query
argument toq
to be consistent with API request parametersUsing the
search_query
argument forrest_api.get_observation_fields()
andrest_api.get_all_observation_fields()
will raise aDeprecationWarning
, but will otherwise still be functional until0.12
Renamed
create_observations()
tocreate_observation()
, as this only supports creating a single observation per call. This is aliased tocreate_observations()
for backwards-compatibility, but will raise aDeprecationWarning
.
Documentation & Usability¶
Added example response data to docs all endpoints
Added links to official API reference to docs for all endpoints
Added full API request parameters to all API functions, in the form of keyword arguments with type annotations and docstrings
Added complete table of iNaturalist API endpoints and endpoints implemented by pyinaturalist
Added and improved usage examples
Numerous other documentation improvements
Made all API function signatures consistent by taking request params as keyword arguments
Other Changes¶
Dropped testing & support for python 3.4
Added testing & support for python 3.9
Added parameter validation for multiple-choice request parameters
0.10.0 (2020-06-16)¶
New Endpoints¶
Added new Observation endpoint:
rest_api.get_observations()
, with 6 additional observation response formats, including GeoJSON, Darwin Core, and others
Modified Endpoints¶
Added
minify
option tonode_api.get_taxa_autocomplete()
Other Changes¶
Added more info & examples to README for taxa endpoints, and other documentation improvements
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
Set up pre-release builds for latest development version
0.9.1 (2020-05-26)¶
Bugfix: proper support for boolean and integer list parameters (see https://github.com/niconoe/pyinaturalist/issues/17).
0.9.0 (2020-05-06)¶
New Endpoints¶
Added new functions for Node API Taxa endpoints:
node_api.get_taxa()
node_api.get_taxa_autocomplete()
node_api.get_taxa_by_id()
0.8.0 (2019-07-11)¶
All functions now take an optional user-agent parameter in order to identify yourself to iNaturalist. If not set,
Pyinaturalist/<VERSION>
will be used.
0.7.0 (2019-05-08)¶
rest_api.delete_observation()
now raisesObservationNotFound
if the observation doesn’t existminor dependencies update for security reasons
0.6.0 (2018-11-15)¶
New function:
rest_api.delete_observation()
0.5.0 (2018-11-05)¶
New function:
node_api.get_observation()
0.4.0 (2018-11-05)¶
create_observation()
now raises exceptions in case of errors.
0.3.0 (2018-11-05)¶
update_observation()
now raises exceptions in case of errors.
0.2.0 (2018-10-31)¶
Better infrastructure (type annotations, documentation, …)
Dropped support for Python 2.
New function:
update_observation()
rest_api.AuthenticationError
is nowexceptions.AuthenticationError
0.1.0 (2018-10-10)¶
First release on PyPI.