ovh / python-ovh

Thin wrapper around OVH's APIs. Handles all the hard work including credential creation and requests signing.
https://pypi.org/project/ovh/
Other
278 stars 76 forks source link

feat(batch): add support for batch GET calls #64

Closed pkuhner closed 4 years ago

pkuhner commented 6 years ago

This PR adds support for batch GET calls, e.g. retrieving multiple records in a single request:

GET /domain/zone/example.com/record/123456788,123456789,...

Batch calls require a HTTP header X-Ovh-Batch specifying the split character (e.g. ,).

Signed-off-by: Pierre Kuhner pierre.kuhner@corp.ovh.com

geoffreybauduin commented 6 years ago

And don't forget to sign your commit, in order to respect our contribution guidelines (https://github.com/ovh/python-ovh/blob/master/CONTRIBUTING.rst#contributing-to-python-ovh)

pkuhner commented 6 years ago

batch has been renamed to _batch and commit is now signed :slightly_smiling_face:

HugoDelval commented 5 years ago

:+1:

pkuhner commented 4 years ago

Closing this as it pollutes my PR tab.