dabeplech.togows.TogoWSEntryAPI¶
-
class
dabeplech.togows.TogoWSEntryAPI(database, entry_format='json')[source]¶ TogoWS API service for entries.
-
__init__(database, entry_format='json')[source]¶ Instantiate by choosing db and format for your response.
- Parameters
database – selected target database (list in self.DATABASES)
entry_format – format for the response
Methods
__init__(database[, entry_format])Instantiate by choosing db and format for your response.
get(entry_id)Perform GET operation for an entry.
get_field(entry_id, field)Perform GET field operation for an entry.
Attributes
BASE_URLDATABASESFORMATSHEADERSROUTETYPE-