Telling if a site is password protected
pearsonartphoto
Registered Users Posts: 34 Big grins
So, I'm trying to find an easy way to tell if a site is password protected. So far the only way I can find is to call Smugmug.Albums.get and see if the response is:
{"message":"invalid user (missing SitePassword parameter)","method":"smugmug.albums.get","stat":"fail","code":4}
Ideally it would be nice to detect this from something like smugmug.users.getInfo or something like that. Is there some way I'm missing? Thanks guys!
{"message":"invalid user (missing SitePassword parameter)","method":"smugmug.albums.get","stat":"fail","code":4}
Ideally it would be nice to detect this from something like smugmug.users.getInfo or something like that. Is there some way I'm missing? Thanks guys!
0
Comments
smugmug.albums.get, heavy, Passworded boolean
Hope this helps.
Cheers,
David
SmugMug API Developer
My Photos