Metadata-Version: 2.1
Name: deims
Version: 2.0
Summary: Interface to the DEIMS-SDR API
Home-page: https://github.com/eLTER-RI/deimsPy
Author: Christoph Wohner and Will Bolton
Author-email: wilbol@ceh.ac.uk
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3
Description-Content-Type: text/markdown
License-File: LICENSE

# deimsPy

This repository represents the latest version of a collection of python functions with the intention of easing access to DEIMS-SDR data (www.deims.org).
This python package is openly available and free to use. Should you use DEIMS-SDR data for any studies or analyses, please cite the service accordingly.
For further information about DEIMS-SDR, please refer to its About page (www.deims.org/about).

## Installation

Via pip (see the package on [PyPI](https://pypi.org/project/deims/)): `pip install deims`.
Manually: download `deims.py` to working directory.

You can then `import deims` as normal.

## Usage

Get the list of all verified site of a network, e.g. ECN
- getListOfSites(network="a197664f-569e-4df6-933a-86de676dbfc5",verified_only=True)

Get the list of all network sites (verified and not verified), e.g. LTER Austria
- getListOfSites(network="d45c2690-dbef-4dbc-a742-26ea846edf28")

Get a particular site record by its DEIMS.ID (multiple formats of the DEIMS.ID are accepted)
- getSiteById("deims.org/8eda49e9-1f4e-4f3e-b58e-e0bb25dc32a6")
- getSiteById("8eda49e9-1f4e-4f3e-b58e-e0bb25dc32a6")

Get all sites on DEIMS within a given search radius (in metres)
- getSitesWithinRadius(47.84, 14.44, 30000)


