obspy.fdsn.client.Client

class Client(base_url='IRIS', major_versions={}, user=None, password=None, user_agent='ObsPy 0.9.0 (Linux-3.9-0.bpo.1-amd64-x86_64-with-debian-7.3, Python 2.7.5)', debug=False)[source]

Bases: object

FDSN Web service request client.

>>> client = Client("IRIS")
>>> print client  
FDSN Webservice Client (base url: http://service.iris.edu)
Available Services: 'dataselect' (v1.0.0), 'event' (v1.0.6),
'station' (v1.0.7), 'available_event_contributors',
'available_event_catalogs'

Use e.g. client.help('dataselect') for the
parameter description of the individual services
or client.help() for parameter description of
all webservices.

For details see __init__().

Attributes

__dict__
__doc__ str(object=’‘) -> string
__module__ str(object=’‘) -> string
__weakref__ list of weak references to the object (if defined)

Public Methods

get_events Query the event service of the client.
get_stations Query the station service of the client.
get_waveforms Query the dataselect service of the client.
get_waveforms_bulk Query the dataselect service of the client.
get_webservice_version Get full version information of webservice (as a tuple of ints).
help Print a more extensive help for a given service.

Private Methods

_attach_responses Helper method to fetch response via get_stations() and attach it to
_build_url Builds the correct URL.
_create_url_from_parameters
_discover_services Automatically discovers available services.
_download
_get_webservice_versionstring Get full version information of webservice as a string.
_write_to_file_object

Special Methods

__init__ Initializes an FDSN Web Service client.
__str__

This Page