In the previous article, I briefly talked about the google verification process, so I practiced it a little and made it easier to package the APIS provided by picasa.
The download page is as follows:
I used the open-source sharing platform provided by Google Code. I hope you can give me some suggestions. I have tested it. It is very nice and helpful.
The test code is as follows:
Using System;
Using System. Collections. Generic;
Using System. Text;
Namespace Pixysoft. Google
{
Class TestDriven
{
Public void TestPicasa ()
{
String username = "youremail@gmail.com ";
String password = "yourpassword ";
Picasa picasa = new Picasa (username, password );
PicasaAlbum album = picasa. CreateAlbum ("demo album ");
PicasaPhoto photo = album. CreatePhoto ("yourjpg.jpg", System. IO. File. ReadAllBytes (@ "c: \ yourjpg.jpg "));
PicasaTag tag = photo. AddTag ("yourtag ");
Console. WriteLine (album. Title );
Console. WriteLine (photo. PhotoTitle );
Console. WriteLine (photo. ContentUrl );
Console. WriteLine (tag. Title );
}
}
}
If you have any questions, please note. I also hope you will visit my website: http://www.citi box.com/, where younger siblings are starting their own business.