Tunnels

Do not construct this object directly, instead access the tunnels property of an ngrok.Client object.

class ngrok.services.TunnelsClient(client)[source]

Tunnels provide endpoints to access services exposed by a running ngrok agent tunnel session or an SSH reverse tunnel session.

list(before_id=None, limit=None)[source]

List all online tunnels currently running on the account.

Parameters
  • before_id (Optional[str]) –

  • limit (Optional[str]) –

https://ngrok.com/docs/api#api-tunnels-list

Return type

TunnelList