Fetcher Module
wbdata.fetcher: retrieve and cache queries
Result
Bases: list[dict[str, Any]]
List with a last_updated attribute. The last_updated attribute is either
a datetime.datetime object or None.
Fetcher
dataclass
An object for making cached HTTP requests.
| Parameters: |
|
|---|
fetch(url, params=None, skip_cache=False)
Fetch data from the World Bank API or from cache.
Given the base url, keep fetching results until there are no more pages.
| Parameters: |
|
|---|
| Returns: |
|
|---|