Options

API 1.0 application stopped working on Sunday

ruttrutt Registered Users Posts: 6,511 Major grins
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?
If not now, when?

Comments

  • Options
    devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited October 16, 2007
    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
    David Parry
    SmugMug API Developer
    My Photos
  • Options
    ruttrutt Registered Users Posts: 6,511 Major grins
    edited October 16, 2007
  • Options
    ruttrutt Registered Users Posts: 6,511 Major grins
    edited October 16, 2007
    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.
    If not now, when?
  • Options
    devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited October 16, 2007
    rutt wrote:
    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
    David Parry
    SmugMug API Developer
    My Photos
  • Options
    devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited October 16, 2007
    rutt,

    can i also suggest an endpoint change...

    http://api.smugmug.com/hack/xmlrpc/1.1.1/ instead of https://upload.smugmug.com/xmlrpc/ ?
    David Parry
    SmugMug API Developer
    My Photos
  • Options
    ruttrutt Registered Users Posts: 6,511 Major grins
    edited October 16, 2007
    Yeah, that's half the fix. The other half is including the API key.
    If not now, when?
  • Options
    devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited October 16, 2007
    rutt wrote:
    Yeah, that's half the fix. The other half is including the API key.

    ok cool thumb.gif
    David Parry
    SmugMug API Developer
    My Photos
Sign In or Register to comment.