Skip to main content

estuary_client.NetApi

All URIs are relative to //api.estuary.tech/

MethodHTTP requestDescription
net_addrs_getGET /net/addrsNet Addrs
public_miners_failures_miner_getGET /public/miners/failures/{miner}Get all miners
public_miners_getGET /public/minersGet all miners
public_net_addrs_getGET /public/net/addrsNet Addrs
public_net_peers_getGET /public/net/peersNet Peers

net_addrs_get

str net_addrs_get()

Net Addrs

This endpoint is used to get net addrs

Example

from __future__ import print_function
import time
import estuary_client
from estuary_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: bearerAuth
configuration = estuary_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = estuary_client.NetApi(estuary_client.ApiClient(configuration))

try:
# Net Addrs
api_response = api_instance.net_addrs_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling NetApi->net_addrs_get: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

str

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

public_miners_failures_miner_get

str public_miners_failures_miner_get(miner)

Get all miners

This endpoint returns all miners

Example

from __future__ import print_function
import time
import estuary_client
from estuary_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: bearerAuth
configuration = estuary_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = estuary_client.NetApi(estuary_client.ApiClient(configuration))
miner = 'miner_example' # str | Filter by miner

try:
# Get all miners
api_response = api_instance.public_miners_failures_miner_get(miner)
pprint(api_response)
except ApiException as e:
print("Exception when calling NetApi->public_miners_failures_miner_get: %s\n" % e)

Parameters

NameTypeDescriptionNotes
minerstrFilter by miner

Return type

str

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

public_miners_get

str public_miners_get()

Get all miners

This endpoint returns all miners

Example

from __future__ import print_function
import time
import estuary_client
from estuary_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: bearerAuth
configuration = estuary_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = estuary_client.NetApi(estuary_client.ApiClient(configuration))

try:
# Get all miners
api_response = api_instance.public_miners_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling NetApi->public_miners_get: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

str

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

public_net_addrs_get

list[str] public_net_addrs_get()

Net Addrs

This endpoint is used to get net addrs

Example

from __future__ import print_function
import time
import estuary_client
from estuary_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: bearerAuth
configuration = estuary_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = estuary_client.NetApi(estuary_client.ApiClient(configuration))

try:
# Net Addrs
api_response = api_instance.public_net_addrs_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling NetApi->public_net_addrs_get: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

list[str]

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

public_net_peers_get

list[str] public_net_peers_get()

Net Peers

This endpoint is used to get net peers

Example

from __future__ import print_function
import time
import estuary_client
from estuary_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: bearerAuth
configuration = estuary_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = estuary_client.NetApi(estuary_client.ApiClient(configuration))

try:
# Net Peers
api_response = api_instance.public_net_peers_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling NetApi->public_net_peers_get: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

list[str]

Authorization

bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]