Python wrapper around the Flexible Query API of the UNFCCC.
- Free software: Apache Software License 2.0
- Documentation: https://unfccc-di-api.readthedocs.io.
Due to a recent change in the UNFCCC's API, the UNFCCCApiReader class is not functional any more in standard environments. To continue to access the data, you have two options:
- Use the new ZenodoReader. It provides access using the query function like the UNFCCCApiReader, but only supports querying for a full dataset with all data. It relies on our data package, which we update regularly; however, the data is naturally not as recent as querying from the API directly.
- Run your functions in an environment which is not blocked by the UNFCCC DI API. According to our tests, Azure virtual machines work, as well as github hosted runners, with the exception of Mac OS runners.
- High-level API to query all information for a given party.
- Low-level API to selectively query information with the same resolution as in the UNFCCC web query tool.
If you use this library and want to cite it, please cite it as:
Mika Pflüger, Daniel Huppmann & Johannes Gütschow. (2024-01-08). pik-primap/unfccc_di_api: Version 4.0.4. Zenodo. https://doi.org/10.5281/zenodo.10471122
If you just want all the data in CSV and parquet format (suitable for reading with pandas), look at our data package.