ngrokhelper module

Module to simplify the use of ngrok to get a public URL for our bot

ngrokhelper.get_public_url(local_port: int) str[source]

Get public URL for local service. If environment informs us about Ngrok host then poll that host. Else start a local ngrok instance and poll that instance

Parameters:

local_port (int) – local port the webservice runs on

Returns: