Implementing a library to connect to SmugMug

OppsOpps Registered Users Posts: 160 Major grins
I thought I would try something stupid ... implementing a library to talk to SmugMug ... from scratch, yep stupid but I haven't found an existing one for the environment I use.

To make it even more interesting, I have no experience of talking to web apps, use REST/JSON/etc (yes I said I was stupid) so it will be a real learning experience. :ivar

Anyway, I've been looking for a really basic, barebones example of how to make calls, etc. Preferable one that shows what's getting sent to smugmug. I would like to see examples of two things - a detailed example of how to connect using OAUTH (I can't use SSL for various reasons and an example use of some function call so I can see how things are supposed to work. I would like to use REST (easiest for me to parse the result).

Does such an example exist? That really show how things work and does not hide it the details in library calls (I'm not interested in the actual network stuff, I want to see how parameters etc is supposed to look).

As long as the examples are clear and detailed it doesn't matter much which language they are in. I previously got this example http://www.dgrin.com/showthread.php?t=112210 which shows a call but since I can't use SSL and don't want to use plain http I'm currently stuck trying to figure out the details of using OAUTH ... once I'm able to log in I expect that I'm able to figure things out. And yes, I've read the pages about OAUTH but an example would really help.
--
Jan Erik Moström

Comments

  • fermionfermion Registered Users Posts: 13 Big grins
    edited June 5, 2009
    Opps wrote:
    I thought I would try something stupid ... implementing a library to talk to SmugMug ... from scratch, yep stupid but I haven't found an existing one for the environment I use.

    Out of curiosity, what environment are you using?
  • OppsOpps Registered Users Posts: 160 Major grins
    edited June 5, 2009
    fermion wrote:
    Out of curiosity, what environment are you using?
    REALbasic, I have an idea for a cross-plattform application.
    --
    Jan Erik Moström
Sign In or Register to comment.