The docs suggest downloading the raw openapi yaml/json for the datahub api and using a code generator to auto generate client side code. If anyone has attempted codegen'ing a client for python i'd be very interested to hear about your experiences - and in particular which code-generator you used.
Cheers -- Simon