Working with API 1.3.0?

Sep 19, 2015 at 12:59 AM
Edited Sep 19, 2015 at 12:59 AM
Is this project still active and working with API 1.3.0?

I am trying to follow the documentation example:
Site mySite = new Site();
var user = mySite.Login(“user name”, “password”);
...and in API 1.3.0 it appears to have changed?

For example it would now be:
SmugMugModel.Site mySite = new SmugMugModel.Site("API_Key","API_Secret");
...and:
 var user =  smugMug.Login(Token accessToken);
What would Token accessToken be in this and how do we declare it? Is there more up to date documentation out there?

Thanks,

SC
Developer
Sep 22, 2015 at 2:53 AM
API 1.3.0 should be working fine. You need to use the oAuth authentication mechanism to get an accessToken.

You can find an example here: https://github.com/AlexGhiondea/SmugMug.NET/blob/master/src/SmugMug.NET/SmugMugTest/Program.cs

BTW -- we have moved over to GitHub!!! Please feel free to file issue over there!

Thanks,
Alex