Home | Trees | Indices | Help |
|
---|
|
object --+ | OAIQuery
A container for queries to OAI interfaces.
Construct it with the oai endpoint and the OAI verb, plus some optional query attributes. If you want to retain or access the raw responses of the server, pass a contentCallback function -- it will be called with a byte string containing the payload of the server response if it was parsed successfully. Error responses cannot be obtained in this way.
The OAIQuery is constructed with OAI-PMH parameters (verb, startDate, endDate, set, metadataPrefix; see the OAI-PMH docs for what they mean, only verb is mandatory). In addition, you can pass granularity, which is the granularity
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Class Variables | |
startDate = None hash(x) |
|
endDate = None hash(x) |
|
set = None hash(x) |
|
registry = None hash(x) |
|
metadataPrefix = None hash(x) |
|
maxRecords = None hash(x) |
|
timeout = 100
|
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
returns the result of parsing the current query plus moreArgs to the current registry. The result is returned as a string. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |