Skip to main content

Helium Api Wrapper

Project description

Helium Api Wrapper

PyPI Status Python Version [License][license]

Read the documentation at https://helium-api-wrapper.readthedocs.io/ Test

pre-commit Black

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

helium-api-wrapper-0.0.1.dev1675011523.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file helium-api-wrapper-0.0.1.dev1675011523.tar.gz.

File metadata

File hashes

Hashes for helium-api-wrapper-0.0.1.dev1675011523.tar.gz
Algorithm Hash digest
SHA256 f333b55c35d30058f8851ef9711f016afc86f2149ae4dfb7a5e064268917aaf3
MD5 77cc71430cdb1a71a12c5add2c391d39
BLAKE2b-256 dd59d82113fb016786e8e23663b4b889df41cbf1bd047acd4e584584255b51fd

See more details on using hashes here.

File details

Details for the file helium_api_wrapper-0.0.1.dev1675011523-py3-none-any.whl.

File metadata

File hashes

Hashes for helium_api_wrapper-0.0.1.dev1675011523-py3-none-any.whl
Algorithm Hash digest
SHA256 af75b8f94c4de72304f89a582788503e5ff0e93442c8448eb80cd0f747b06e39
MD5 317e36aba1461d83e0c591739930f40d
BLAKE2b-256 9eeabf7622c7be87519723d554140505c5344599a9a98836ca59b8af5791b2f0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page