I forgot to mention, I used https://developers.google.com/picasa-web/docs/2.0/developers_guide_protocol as a guide when writing my software.
Jim On 08/06/15 07:54, Jim Easterbrook wrote: > I gave up using the Google Python client library as I couldn't get it to > work with OAuth2. It was also a large download for the small part of it > I was using. > > I now use Python's requests and requests_oauthlib libraries to send > requests to Picasa and the xml.etree.ElementTree library to parse the > results. > > You can read what I've done here: > https://github.com/jim-easterbrook/Photini/blob/master/src/photini/picasa.py. > The PicasaSession class is probably of most interest. Don't use my > application's client id and client secret in your application. > > This is just one way to do it - I'm sure there are better solutions. > > Jim > > On 08/06/15 00:10, Wavemaker wrote: >> Same here. It would be really useful to have a simple alternative to >> ProgrammaticLogin().... >> >> >> On Thursday, 28 May 2015 17:16:32 UTC+2, Игорь Финогенов wrote: >> >> Can anyone please provide solution on how to use in python script an >> auth token from playground to (for example) list picasa albums? >> Or may be PLZ provide some link (as written above to "...Github - or >> even this list's archives..") to the working example how to get >> access to Picasa webalbums using python? >> >> четверг, 28 Ð¼Ð°Ñ 2015 г., 9:32:27 UTC+3 >> пользователь Mike Erickson >> Ð½Ð°Ð¿Ð¸Ñ Ð°Ð»: >> >> The easiest way to play with Oauth2 is in the oauth2 playground. >> You can use the playground to generate an auth token that you >> can use for the API, passed as a url param if you're interested >> in a short term solution for personal use. >> >> https://developers.google.com/oauthplayground/ >> <https://developers.google.com/oauthplayground/> >> >> Otherwise, I haven't looked into what it would take to update >> the client libraries to support OAuth. I can take a look to see >> if there's some way to leverage other existing libraries. >> >> >> On Wed, May 27, 2015, 11:16 PM Awais Jibran <[email protected]> >> wrote: >> >> +1 Agree with you, there should some notification atleast. >> Poor step. >> >> >> On Thursday, 28 May 2015 01:01:20 UTC+5, Mark Otway wrote: >> >> Are you planning to push out updates to the client >> libraries with Oauth support? Seems a bit poor to turn >> off functionality that effectively renders them useless, >> without pushing an update... >> >> >> On Wed, 27 May 2015 20:54 'Michael Erickson' via Google >> Picasa Web Albums API <[email protected]> >> wrote: >> >> Yes, I believe none of the canned client libraries >> use OAuth 2 by default so will fail authentication. >> >> >> On Wed, May 27, 2015, 12:42 PM Francisco Jiménez >> <[email protected]> wrote: >> >> Hi Mike, >> >> Do you mean that the code provided in >> >> https://developers.google.com/picasa-web/docs/2.0/developers_guide_java >> >> <https://developers.google.com/picasa-web/docs/2.0/developers_guide_java> >> is not working anymore? >> >> Today I started to work with Picasa API for Java: >> PicasawebService myService = new >> PicasawebService("PicasaProject"); >> >> myService.setUserCredentials("[email protected]", >> "passwordXX"); >> >> But I get the next error: >> com.google.gdata.util.AuthenticationException: >> Error authenticating (check service name) >> at >> >> com.google.gdata.client.GoogleService.getAuthException(Unknown >> Source) >> >> Thank you in advance. >> >> -- >> You received this message because you are >> subscribed to the Google Groups "Google Picasa >> Web Albums API" group. >> To unsubscribe from this group and stop >> receiving emails from it, send an email to >> [email protected]. >> >> To post to this group, send email to >> [email protected]. >> >> >> Visit this group at >> http://groups.google.com/group/google-picasa-data-api >> >> <http://groups.google.com/group/google-picasa-data-api>. >> For more options, visit >> https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. >> >> -- >> You received this message because you are subscribed >> to the Google Groups "Google Picasa Web Albums API" >> group. >> To unsubscribe from this group and stop receiving >> emails from it, send an email to >> [email protected]. >> >> To post to this group, send email to >> [email protected]. >> >> >> Visit this group at >> http://groups.google.com/group/google-picasa-data-api >> <http://groups.google.com/group/google-picasa-data-api>. >> For more options, visit >> https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. >> >> -- >> You received this message because you are subscribed to the >> Google Groups "Google Picasa Web Albums API" group. >> To unsubscribe from this group and stop receiving emails >> from it, send an email to >> [email protected]. >> To post to this group, send email to >> [email protected]. >> Visit this group at >> http://groups.google.com/group/google-picasa-data-api >> <http://groups.google.com/group/google-picasa-data-api>. >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Google Picasa Web Albums API" group. >> To unsubscribe from this group and stop receiving emails from it, send >> an email to [email protected] >> <mailto:[email protected]>. >> To post to this group, send email to >> [email protected] >> <mailto:[email protected]>. >> Visit this group at http://groups.google.com/group/google-picasa-data-api. >> For more options, visit https://groups.google.com/d/optout. > > -- Jim Easterbrook <http://www.jim-easterbrook.me.uk/> -- Jim Easterbrook <http://www.jim-easterbrook.me.uk/> -- You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-picasa-data-api. For more options, visit https://groups.google.com/d/optout.
