The Official Python Client of the Array of Things API
Project description
# Array of Things Client
This library serves as the official Python client to the [Array of Things API](https://api.arrayofthings.org/api).
## System Requirements
This library will only run on Python 3.6 or better.
We __will not__ support Python 2 or earlier versions of Python 3.
## Using the Library
The AoT Client is available on PyPI:
```bash
$ pip install aot-client
```
You can then use it pull down lists of metadata and observations
as well as detailed information about metadata.
```python
from aot_client import AotClient
client = AotClient()
projects = client.list_projects()
for proj in projects:
print(f'{proj["name"]} is available at /api/projects/{proj["slug"]}')
```
## Development and Contributing
To run the tests locally:
```bash
$ pipenv install --dev
$ pipenv run python -m pytest
```
To build a release and push it to PyPI:
```bash
$ pipenv run python setup.py sdist bdist_wheel
$ pipenv run twine upload dist/*
```
This library serves as the official Python client to the [Array of Things API](https://api.arrayofthings.org/api).
## System Requirements
This library will only run on Python 3.6 or better.
We __will not__ support Python 2 or earlier versions of Python 3.
## Using the Library
The AoT Client is available on PyPI:
```bash
$ pip install aot-client
```
You can then use it pull down lists of metadata and observations
as well as detailed information about metadata.
```python
from aot_client import AotClient
client = AotClient()
projects = client.list_projects()
for proj in projects:
print(f'{proj["name"]} is available at /api/projects/{proj["slug"]}')
```
## Development and Contributing
To run the tests locally:
```bash
$ pipenv install --dev
$ pipenv run python -m pytest
```
To build a release and push it to PyPI:
```bash
$ pipenv run python setup.py sdist bdist_wheel
$ pipenv run twine upload dist/*
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aot-client-0.2.1.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for aot_client-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4516295c25c44edc80f6a18090818a1a442bb55a2ffbd8615ad60295daa80d5 |
|
MD5 | cdb5006a759e50d19819ef1b25e73ae8 |
|
BLAKE2b-256 | 936ffb93d8ea2493d3b51a6ed35f602bf56bf72e5add608e30d5a6cf94a2cc1f |