Wiredcraft / dopy

Digital Ocean Python
MIT License
95 stars 62 forks source link

Cannot create domain record with V2 API #23

Closed mbugeia closed 9 years ago

mbugeia commented 9 years ago

https://github.com/devo-ps/dopy/blob/master/dopy/manager.py#L362

In V2, DO API return a "domain_record" json object, not "record" as in V1, see: https://developers.digitalocean.com/documentation/v2/#domain-records

Other domain record functions are ok.

KarelJakubec commented 9 years ago

Hi @mbugeia and @zbal, any chance to merge this soon? I run into this problem today as well...

Thanks, Karel

mbugeia commented 9 years ago

Hi @zbal, I really want this to be merged too, the feature is broken right now. Thanks

certifiedloud commented 9 years ago

+1

zbal commented 9 years ago

Hi guys - just merged - will push the change to pypi today. Thanks for the PR!