Python API ClientDataCollection.export_to_json coinmetrics._data_collection.DataCollection.export_to_json( path_or_bufstr=None, compress=False,) Parameters: path_or_bufstr (str | Path | IO [str ] | IO [bytes ] | None) compress (bool) Returns: str | None