Is there any way to queue up document list API requests and handle them asynchronously (similar to the google app engine async urlfetch requests)?
I could conceivably copy/rewrite a lot of the client request modification logic in DocsClient around a urlfetch request, but I'd rather avoid that if there's some other method already available.
The target environment is google app engine, and I'm aware of the async datastore APIs.
EDIT
I've now implemented basic functionality on DocsClient.request
to accept a callback
kwarg, so any higher-level client request will use async urlfetch and call the callback function with the result of the call.
To write asynchronous code with google-docs-api and with any google api generally use aiogoogle. For google-docs this documentation will be helpful too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With