View Full Version : API 1.0 application stopped working on Sunday
rutt
Oct-16-2007, 03:07 PM
My poor old python uploading script has been chugging along in batch mode on linux systems for years. But on Sunday it just stopped being able to authenticate (and thus stopped working.)
Has this version of the API just fallen off the back of the queue, deprecated out of existence? It's probably time to rewrite the python script, but not a very convinient time for me.
What's the status?
devbobo
Oct-16-2007, 03:11 PM
Rutt,
it shouldn't have. Can you please link me to a version of the code ? So I can check the endpoints and the methods called ?
Thanks,
David
rutt
Oct-16-2007, 04:15 PM
Here you go:
http://sourceforge.net/project/showfiles.php?group_id=179298&package_id=207078&release_id=456520
rutt
Oct-16-2007, 05:03 PM
Got a little help from a user of this script and now it works for me. I'd post it, but I have a question I'd like answered first. What about API keys in scripts? Should I post the script with my API key? Or do other users have to supply their own?
Just trying to be a good citizen.
devbobo
Oct-16-2007, 05:08 PM
Got a little help from a user of this script and now it works for me. I'd post it, but I have a question I'd like answered first. What about API keys in scripts? Should I post the script with my API key? Or do other users have to supply their own?
Just trying to be a good citizen.
rutt,
it's up to you. Myself, if i have released code where it's visible in the open, I may substitute <insert api key> for the actual api key.
Cheers,
David
devbobo
Oct-16-2007, 05:11 PM
rutt,
can i also suggest an endpoint change...
http[s]://api.smugmug.com/hack/xmlrpc/1.1.1/ instead of https://upload.smugmug.com/xmlrpc/ ?
rutt
Oct-16-2007, 06:07 PM
Yeah, that's half the fix. The other half is including the API key.
devbobo
Oct-16-2007, 06:19 PM
Yeah, that's half the fix. The other half is including the API key.
ok cool :thumb
vBulletin v3.5.2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.