Skip to content

0.8.4

Compare
Choose a tag to compare
@apex2504 apex2504 released this 10 May 22:38
· 29 commits to master since this release

Supports new /v2/gov endpoints. Due to the fact that different data will be provided by different countries, we cannot create a unified class for the returned data. As a result, the data returned will either be a dict or a list of dicts. To get a list of the available attributes, you can use list(dict.keys()).

New methods

  • gov_supported_countries() - Get a list of all the supported countries. Returns List[str]
  • gov_country(country) - Get the data from the country's government. Could return either dict or List[dict]