Here is the code to create an instance of the Picasa web service and a
resulting feed in C#:
<code>
// Create a query and service object - "lh2" is the name of the picasa
web service.
Service picasaService = new Service("lh2", "exampleCo-exampleApp-1"));
FeedQuery query = new FeedQuery("http://picasaweb.google.com/data/feed/
api/user/" + /* add user name */ + "?kind=album");
// Set your credentials - not necessary if you are just viewing public
albums.
NetworkCredential nc = new NetworkCredential("[EMAIL PROTECTED]",
"mypassword");
service.Credentials = nc;
// Tell the service to query:
AtomFeed calFeed = service.Query(query);
</code>
The resulting feed will contain information about the public albums of
the user specified in the feedquery's url.
-Andrew
On May 29, 10:02 am, Bikeagent <[EMAIL PROTECTED]> wrote:
> Simple Question?
>
> The API documantation write:
> "Create an object of the PicasawebService class, which handles
> communication and authentication with Picasa Web Albums"
>
> but how?
>
> Java Code:
> PicasawebService myService = new PicasawebService("exampleCo-
> exampleApp-1");
>
> But i don't have an object with the Name "PicasawebService".I have
> referenced the GDATA. client dll in my Project.
>
> i can can include an webservice in my project, but what ist this URL?
>
> Picasaweb an .NET is this possible?
>
> Thanks for your help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Data API" group.
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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---