client.remote_hosts.list_data_sets

A method of the Remote Hosts endpoint.

list_data_sets(id: int, *, credential_id: int = None, username: str = None, password: str = None, q: str = None, s: bool = None) ListResponse

List data sets available from a remote host

API URL: GET /remote_hosts/{id}/data_sets

import civis
client = civis.APIClient()
response = client.remote_hosts.list_data_sets(...)
Parameters:
idint

The ID of the remote host.

credential_idint, optional

The credential ID.

usernamestr, optional

The user name for remote host.

passwordstr, optional

The password for remote host.

qstr, optional

The query string for data set.

sbool, optional

If true will only return schemas, otherwise, the results will be the full path.

Returns:
civis.ListResponse
  • namestr

    The path to a data_set.

  • full_pathbool

    Boolean that indicates whether further querying needs to be done before the table can be selected.