Entity¶
- class xbrl_filings_api.Entity¶
Bases:
APIResource
Entity in the database which has filed filings.
In most cases, the entity is the parent company of the group.
Methods
get_data_attributes
([flags, filings])Return data attributes for an
APIResource
.__hash__
()Return hash of
('APIResource', cls.TYPE, self.api_id)
.__repr__
()__str__
()Return "<
name
> (<identifier
>)", or either alone.Attributes
The identifier for entity.
Name of the entity.
Set of filings reported by this entity.
URL to the page with full list of filings by this entity.
api_id
JSON-API resource
id
ofAPIResource
.query_time
Time when the query function was called for an
APIObject
.request_url
HTTP request URL for an
APIObject
.- TYPE: str = 'entity'¶
JSON-API resource
type
ofAPIResource
subclass.
- __str__()¶
Return “<
name
> (<identifier
>)”, or either alone.If both are defined, full string is returned but if only one is defined, it is returned. If neither is defined, return empty string.
- Return type: