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.Client.event attribute.

Attributes

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

_EventMapperClient.__delattr__(name, /)

Implement delattr(self, name).

_EventMapperClient.__dir__()

Default dir() implementation.

_EventMapperClient.__eq__(value, /)

Return self==value.

_EventMapperClient.__format__(format_spec, /)

Default object formatter.

_EventMapperClient.__ge__(value, /)

Return self>=value.

_EventMapperClient.__getattribute__(name, /)

Return getattr(self, name).

_EventMapperClient.__gt__(value, /)

Return self>value.

_EventMapperClient.__hash__()

Return hash(self).

_EventMapperClient.__init__(client)
_EventMapperClient.__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

_EventMapperClient.__le__(value, /)

Return self<=value.

_EventMapperClient.__lt__(value, /)

Return self<value.

_EventMapperClient.__ne__(value, /)

Return self!=value.

_EventMapperClient.__new__(**kwargs)
_EventMapperClient.__reduce__()

Helper for pickle.

_EventMapperClient.__reduce_ex__(protocol, /)

Helper for pickle.

_EventMapperClient.__repr__()

Return repr(self).

_EventMapperClient.__setattr__(name, value, /)

Implement setattr(self, name, value).

_EventMapperClient.__sizeof__()

Size of object in memory, in bytes.

_EventMapperClient.__str__()

Return str(self).

_EventMapperClient.__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).