create credentials:
https://developers.google.com/identity/protocols/OAuth2InstalledApp
create OAuth client ID, for consent screen add just a title, then create an Other type key and copy its client id and secret
install the python client library:
https://developers.google.com/api-client-library/python/apis/blogger/v3
use the sample to test the api with your credentials:
https://github.com/googleapis/google-api-python-client/tree/master/samples/blogger
the first time calling the sample you are presented with your consent screen for approval, give approval and from then on you can use the python api to perform operations:
https://developers.google.com/resources/api-libraries/documentation/blogger/v3/python/latest/
No comments:
Post a Comment