Home | Trees | Index | Help |
---|
Package musicbrainz2 :: Module webservice :: Class IWebService |
|
object
--+
|
IWebService
WebService
An interface all concrete web service classes have to implement.
All web service classes have to implement this and follow the method specifications.Method Summary | |
---|---|
Query the web service. | |
Submit data to the web service. | |
Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
get(self, entity, id_, include, filter, version)Query the web service. Using this method, you can either get a resource by id (using the
The WebServiceError or one of its subclasses
in case of an error. Which one is used depends on the implementing
class.
|
post(self, entity, id_, data, version)Submit data to the web service.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Dec 20 18:19:28 2006 | http://epydoc.sf.net |