Skip to content

azurepricingapi is a python wrapper around the Azure Retail Prices Rest API, which helps you to eaily get Azure Retail Prices using python.

License

Notifications You must be signed in to change notification settings

tothenew/azure-pricing-api-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Pricing API Python

azurepricingapi is a python wrapper around the Azure Retail Prices Rest API, which helps you to eaily get Azure Retail Prices using python. We have tried to style it similar to the AWS pricing api.

Installation

The pricing api could be easily installed by using the following command:

    pip3 install azurepricingapi

Example

from azurepricingapi import get_pricing


filter = [
    {
        "armRegionName": "eastus",
        "serviceFamily": "Databases"
    }
]

results = get_pricing(filter)

for item in results:
    print(item)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Apache

About

azurepricingapi is a python wrapper around the Azure Retail Prices Rest API, which helps you to eaily get Azure Retail Prices using python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages