argopy.utils.isalive#

isalive(api_server_check: str | dict = '') bool[source]#

Check if an API is alive or not

2 methods are available:

  • URL Ping

  • keyword Check

Parameters:

api_server_check

Url string or dictionary with [url, keyword] keys.

  • For a string, uses: argopy.utilities.isconnected

  • For a dictionary, uses: argopy.utilities.urlhaskeyword

Return type:

bool