I have succesfully generated Schema/Xsd for the exif response Xml document.
Using this schema I have successfully generated a C# class (using
Xsd2Code). I am not certain that the exif Xml I have received back (in one
of my test upload of an image to my Picasa web album) is a complete sample
of all possible exif properties, I mention this since I generated my Schema
from it.
Does anyone have a link to the official Schema?
Now I can do things like:
// Load a persisted/serialized exif document
KStubs.GoogleApi.Schemas.entry entry =
KStubs.GoogleApi.Schemas.entry.LoadFromFile(@"exif_response.xml");
// Examine album id, and image tag
Console.WriteLine("albumid: {0}", entry.albumid);
==> albumid: 5706494492383604833Console.WriteLine("title: {0}", entry.title);
==> title: test.jpg
// Output thumbnail links
foreach(GoogleApi.Schemas.thumbnail thumb in entry.group.thumbnail)
Console.WriteLine("thumb: {0}", thumb.url);
==>
thumb:
https://lh6.googleusercontent.com/-zjCnFJLe4H8/TzNTbZY14lI/AAAAAAAAAbc/8QPdB92gkHw/s72/test.jpg
thumb:
https://lh6.googleusercontent.com/-zjCnFJLe4H8/TzNTbZY14lI/AAAAAAAAAbc/8QPdB92gkHw/s144/test.jpg
thumb:
https://lh6.googleusercontent.com/-zjCnFJLe4H8/TzNTbZY14lI/AAAAAAAAAbc/8QPdB92gkHw/s288/test.jpg
Just sharing with the group if anyone is interested I am happy to share the
schemas and C# code.
Karl..
--
You received this message because you are subscribed to the Google Groups
"Google Picasa Web Albums API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-picasa-data-api/-/CVFebabP1EAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-picasa-data-api?hl=en.