Helium Api Wrapper
Project description
Helium Api Wrapper
Features
- Load data from the Helium Blockchain API
- Get hotspots by address
- Get hotspots by location
- Get a list of hotspots
- Get challenges of a hotspot
- Get a list of challenges
- Load Data from the Helium Console API
- Get device information by uuid
Requirements
- Python 3.8+
- Poetry
Installation
You can install Helium Api Wrapper via [pip] from [PyPI]:
$ pip install helium-api-wrapper
Usage
You can import different modules to load data from the Helium Blockchain API or the Helium Console API.
from helium_api_wrapper import hotspots, devices
hotspots.get_hotspot_by_address("some_address")
devices.get_device_by_uuid("some_uuid")
In order to use the Device API, you need to set the API_KEY
environment variable.
It is also possible to set different API endpoints for the Helium Blockchain API and the Helium Console API.
```console
You can run the wrapper as a python module:
python -m helium_api_wrapper --help python -m helium_api_wrapper get-hotspots python -m helium_api_wrapper get-hotspot --address your-hotspot-address
To personalise the settings command the file (using -, -- or CAPS to specify your settings) in a preferred terminal.
To list all possible settings run the --help command.
## Contributing
Contributions are very welcome.
To learn more, see the [Contributor Guide].
## License
Distributed under the terms of the [MIT license][license],
_Helium Api Wrapper_ is free and open source software.
## Issues
If you encounter any problems,
please [file an issue] along with a detailed description.
## Credits
This project was generated from [@cjolowicz]'s [Hypermodern Python Cookiecutter] template.
[@cjolowicz]: https://github.com/cjolowicz
[pypi]: https://pypi.org/
[hypermodern python cookiecutter]: https://github.com/cjolowicz/cookiecutter-hypermodern-python
[file an issue]: https://github.com/emergotechnologies/helium-api-wrapper/issues
[pip]: https://pip.pypa.io/
<!-- github-only -->
[license]: https://github.com/emergotechnologies/helium-api-wrapper/blob/main/LICENSE
[contributor guide]: https://github.com/emergotechnologies/helium-api-wrapper/blob/main/CONTRIBUTING.md
[command-line reference]: https://helium-api-wrapper.readthedocs.io/en/latest/usage.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file helium-api-wrapper-0.0.1.dev1675259981.tar.gz
.
File metadata
- Download URL: helium-api-wrapper-0.0.1.dev1675259981.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bc4ec69dcb1dd0917a6a1cb50101199cd5190b3f0153d4f605e55105b7f459f |
|
MD5 | 665e5e66baa5879ff7a64182f238047d |
|
BLAKE2b-256 | ab244ca545b7a9de1b191fd7ce4120e6314a99d4705ca45e4b7fc60fd9cfdaba |
File details
Details for the file helium_api_wrapper-0.0.1.dev1675259981-py3-none-any.whl
.
File metadata
- Download URL: helium_api_wrapper-0.0.1.dev1675259981-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1c3b0fb410dec0a7e8c70aa411901fcd33633016e51f7967fd94ed33992e320 |
|
MD5 | 55ad4f133a5cb4e9fce94be927e18f48 |
|
BLAKE2b-256 | 839389fb2fd6f22dbdf0d70430be816888e7ecc7e1fa05ef0f4a5d6c6725c8ef |