How to access the Google Cloud Platform historical committed use discount (cud) by python?

I want to use python to access the historical GCP committed use discount data for a specific project.

Any thoughts on which GCP Api to look at or where to get it started promatically?

Thank you!

1 answer

  • answered 2021-05-03 18:12 Akinniyi Akinyemi

    Seems like you could make a get request to their rest API to fetch the list you're looking for. Take a look at the API resource here