|
|
Thread Tools | Display Modes |
|
#1
|
|
|
SmugMug CEO & Chief Geek
|
new API release - March 31st, 2005
BIG changes! Here are the highlights:
- method names have dramatically changed. The old methods will still work, and probably will forever, but no promises. I strongly suggest you start using the new naming scheme. See the docs. - new interface! REST! Some would argue it's even simpler than XML-RPC, and they might be right. See the docs. - APIKeys! To curb abuse and increase our ability to track API usage, all uses of the API now require an API key. Easy to apply for, quick to obtain, you'll need it to use any of the new functions, new REST interface, etc. See the docs. - New methods to let you manipulate Categories & SubCategories: rename, delete, etc. - Stats methods to get hits and bytes sent per album and per photo. - Bug fixes to quite a few methods to return the proper values (ints, bools, etc) and results. I'm sure I've introduced bugs, so holler if you find some. Don |
|
|
|
|
#2
|
||
|
technicolored
|
Don,
smugmug.images.get & smugmug.albumtemplates.get are returning method not found David Quote:
|
|
|
|
||
|
#3
|
|
|
Cave canem!
|
Are you planning on maintaining xml-rpc as well as rest? I hope so. Python support of xml-rpc is first class, but not so for rest.
Don, I think it would be really great when you have a change like this that is going to break everything, to publish the documentation, changes, etc, in advance and give us some time to get ready. Please? |
|
|
|
|
#4
|
||
|
Major grins
|
Quote:
|
|
|
|
||
|
#5
|
|
|
Darth SLR
|
Thank you!
As long as the old functionality keeps working "as is", at least for the time being, I'm all up for the changes!
I agree, sort of advance notice would be nice, but hey, sometimes $%it just happens:-) I'l looking forward to see the REST:-) One question: is your intension to 1) support/uprdage *both* branches (rpx-aml & rest), or 2) the rpc-xml gets to rest:-) and REST will be the "main" API? Thanks again for keep an eye of this area!
__________________
"May the f/stop be with you!" Star*Explorer: on Dgrin, home; Master Class: open; Class is in session, My Facebook, @DarthSLR, #NiksTips member: NAPP, PPA, partner: Adobe Comprehending life, universe and everything - one pixel at a time |
|
|
|
|
#6
|
||
|
Major grins
|
Quote:
![]() Oh well - I'm sure once I get the API Key things will work very well. I think it's great that Don and the rest of the crew are so actively trying to make the API a useful and powerful tool. |
|
|
|
||
|
#7
|
||
|
SmugMug CEO & Chief Geek
|
Quote:
Note what's not working that used to work and I'll get it fixed. Don |
|
|
|
||
|
#8
|
||
|
SmugMug CEO & Chief Geek
|
Quote:
Come on guys, I'm not that stupid. There's a huge grace period where all the old calls work, there's no key required for anything that was old, etc etc. If something's not working, it's an honest mistake and a bug, not intentional. Tell me which call isn't working, rather than complaining with zero details. :) Don |
|
|
|
||
|
#9
|
|
|
SmugMug CEO & Chief Geek
|
Obviously, the docs aren't clear enough, though it seems like it to me. :)
For the record: Both REST and XML-RPC will be jointly updated in lockstep. XML-RPC isn't going anywhere. Of course, also for the record, the APIs are currently sans official support or endorsement. Use at your own risk. ;) Don |
|
|
|
|
#10
|
||
|
Cave canem!
|
Quote:
I'll test and let you know. |
|
|
|
||
|
#11
|
||
|
SmugMug CEO & Chief Geek
|
Quote:
Try now. :) Don |
|
|
|
||
|
#12
|
||
|
SmugMug CEO & Chief Geek
|
Quote:
Don |
|
|
|
||
|
#13
|
|
|
Cave canem!
|
Smugmug.py does seem to work. Next time I'll try to be more empirical. Sorry.
Thanks, Don, for all the work on this. It really is a pleasure to have this interface. |
|
|
|
|
#14
|
||
|
Major grins
|
Quote:
|
|
|
|
||
|
#15
|
||
|
SmugMug CEO & Chief Geek
|
Quote:
What Version are you sending? Don |
|
|
|
||
|
#16
|
||
|
Major grins
|
Quote:
That's what I get for posting messages on little sleep. Now I know. Would there be any advantage, in PHP, to use the REST interface? The XML-RPC classes available for PHP seem to work well. Thanks. |
|
|
|
||
|
#17
|
||
|
Darth SLR
|
Just tested with one week old SE
Quote:
Prolly something on your side, my man! Cheers!
__________________
"May the f/stop be with you!" Star*Explorer: on Dgrin, home; Master Class: open; Class is in session, My Facebook, @DarthSLR, #NiksTips member: NAPP, PPA, partner: Adobe Comprehending life, universe and everything - one pixel at a time |
|
|
|
||
|
#18
|
||
|
SmugMug CEO & Chief Geek
|
Quote:
The interfaces are essentially identical, so which one to use is left up to the author. Both interfaces are easy to use and lightweight (as opposed to SOAP), so you can't really go wrong with either one. Don |
|
|
|
||
|
#19
|
|
|
Beginner grinner
|
No REST
Hi, I just got my API key and I'm trying to give the REST API a shot but so far I've had no luck, just a lot of invalid API key errors
![]() As a quick check that it should be working, in my browser I've been trying to hit this URL: https://api.smugmug.com/hack/rest/?m...RealAPIKeyHere with or without SSL, the response is invalid API key. AFACT this should be just like the sample request in the docs. Does it work for anyone else? If so, what browser/OS are you using? Last edited by dds; Apr-01-2005 at 12:50 PM. Reason: another typo... |
|
|
|
|
#20
|
||
|
SmugMug CEO & Chief Geek
|
Quote:
Don |
|
|
|
||
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|