helium_py.onboarding.client.OnboardingClient

class helium_py.onboarding.client.OnboardingClient(host=None)[source]

Bases: API

OnboardingClient class for integration with onboarding server.

__init__(host=None)[source]

Initialize OnboardingClient with a custom host.

Methods

__init__([host])

Initialize OnboardingClient with a custom host.

get_firmware()

Return current firmware version.

get_makers()

Return list of makers.

get_onboarding_record(address)

Return onboarding record for provided hotspot address.

post_payment_transaction(address, txn)

Post payment transaction and return response.

Attributes

base_path

client

Return a client singleton per API.

host

port

user_agent

property client: Client

Return a client singleton per API.

get_firmware()[source]

Return current firmware version.

get_makers()[source]

Return list of makers.

get_onboarding_record(address: str)[source]

Return onboarding record for provided hotspot address.

post_payment_transaction(address: str, txn: str)[source]

Post payment transaction and return response.