oracle / oci-python-sdk

Oracle Cloud Infrastructure SDK for Python
https://cloud.oracle.com/cloud-infrastructure
Other
386 stars 276 forks source link

implementation of price calculator in application #690

Open PavithraSrikakarlapudi opened 1 month ago

PavithraSrikakarlapudi commented 1 month ago

I want to implement a price calculator in our application. Azure provides retail prices through the API at 'https://prices.azure.com/api/retail/prices'. For AWS, prices can be retrieved using the following code: pricing = session.client('pricing', 'us-east-1') body = {'ServiceCode': 'AmazonEC2', 'Filters': api_filters} resp = pricing.get_products(**body)

Similarly, I need to find a way to get pricing information for OCI (Oracle Cloud Infrastructure) resources. Can you suggest where I can obtain OCI resource pricing? @adizohar

adizohar commented 1 month ago

Here is the documentation for the Price List API:

https://docs.oracle.com/en-us/iaas/Content/Billing/Tasks/signingup_topic-Estimating_Costs.htm#accessing_list_pricing