Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

Metadata

Release files for helium-api-wrapper 0.0.1.dev1675266436

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for helium-api-wrapper 0.0.1.dev1675266436
File Size Uploaded
helium_api_wrapper-0.0.1.dev1675266436.tar.gz 12.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for helium-api-wrapper 0.0.1.dev1675266436
File Interpreter ABI Platform
helium_api_wrapper-0.0.1.dev1675266436-py3-none-any.whl Python 3 none any Details

Total release size: 26.4 kB

Release files / helium_api_wrapper-0.0.1.dev1675266436.tar.gz

Download URL helium_api_wrapper-0.0.1.dev1675266436.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c094e1271f30d9d158f387955c8383ce60ced3ff41cb20b921194c5ed59d75b2
BLAKE2b-256 checksum
How to use checksums
af22dc9610304b64316803c71b1aafaa7c605e6621fca3fb66325b0b9d2d0b42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / helium_api_wrapper-0.0.1.dev1675266436-py3-none-any.whl

Download URL helium_api_wrapper-0.0.1.dev1675266436-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0161c87bf694677f66db2077217ce5ea475971f8c69b487ccf44ec2379f0368d
BLAKE2b-256 checksum
How to use checksums
5d350f8e72c9008b39dd99ad5d7ba221009d5f8e0f77d84885a54cf33da8f68b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page