obspy.clients.seishub.client._EventMapperClient

class _EventMapperClient(client)[source]

Bases: obspy.clients.seishub.client._BaseRESTClient

Interface to access the SeisHub Event Web service.

Warning

This function should NOT be initialized directly, instead access the object via the obspy.clients.seishub.Client.event attribute.

Attributes

__dict__

__doc__

__module__

__weakref__

list of weak references to the object (if defined)

package

resourcetype

Public Methods

delete_resource

DELETEs a XML resource.

get_events

Fetches a catalog with event information.

get_kml

Posts an event.get_list() and returns the results as a KML file.

get_list

Gets a list of event information.

get_resource

Gets a resource.

get_xml_resource

Gets a XML resource.

put_resource

PUTs a XML resource.

save_kml

Posts an event.get_list() and writes the results as a KML file.

Special Methods

__dir__

Default dir() implementation.

__format__

Default object formatter.

__init__

Initialize self.

__init_subclass__

This method is called when a class is subclassed.

__new__

Create and return a new object.

__reduce__

Helper for pickle.

__reduce_ex__

Helper for pickle.

__sizeof__

Size of object in memory, in bytes.

__subclasshook__

Abstract classes can override this to customize issubclass().