|
|
Thread Tools | Display Modes |
|
#1
|
|
|
SmugMug Product Manager
|
Smugmug API 1.3.0
The newest version of SmugMug's API improves security while making it easier for you to use. Here's how:
New features: We've added sessionless anonymous access to certain API methods. This means you no longer need to login through the API to access public content on SmugMug. As before, privacy levels dictate what content is available through the API, so, for example, passworded sites require you to provide the correct password to access the galleries. From now on, APIKey is required and SessionID is optional. All methods that don't require authorization will be available as long as you have an APIKey for your application. We have also added the possibility to transfer server-to-server session to your customers browser. This is created to support an application that manages user, gallery or sharegroup authentication and subsequently re-directs the users browser into the corresponding site or gallery without the need to re-enter the credentials. Methods related to session transfer: smugmug.accounts.browse smugmug.albums.browse smugmug.sharegroups.browse Deprecated features: In light of the changes to authenticated access we are deprecating the methods related to Basic Authentication. The methods are: smugmug.login.withPassword smugmug.login.withHash Upgrade instructions: In order to take advantage of the new API you should start using the new endpoints; JSON - http://api.smugmug.com/services/api/json/1.3.0/ - https://secure.smugmug.com/services/api/json/1.3.0/ PHP - http://api.smugmug.com/services/api/php/1.3.0/ - https://secure.smugmug.com/services/api/php/1.3.0/ REST - http://api.smugmug.com/services/api/rest/1.3.0/ - https://secure.smugmug.com/services/api/rest/1.3.0/ XML-RPC - http://api.smugmug.com/services/api/xmlrpc/1.3.0/ - https://secure.smugmug.com/services/api/xmlrpc/1.3.0/ Applications that currently use SessionID to access methods that doesn't require user authentication should be modified to include APIKey in the requests. The methods related to basic authentication should be removed and all access that requires authorization by the user should be implemented using OAuth. Timeline: SmugMug API 1.3.0 is available at the time of this announcement. The API has been available as beta for quite some time and based on user feedback and our internal testing we have decided to make this official. SmugMug API 1.2.2 will be available and we will continue to fix issues in it, but after this we will not be adding new functionality to it. All new functionality will be added to new versions of the API. It is recommended that you update your applications to use the new API as soon as possible. If any API versions are deprecated in the future, stay tuned to our API forums on Digital Grin or check in on our blog. |
|
|
|
|
#2
|
|
|
yet another grinner
|
Hi,
I noticed that: wget -S 'http://api.smugmug.com/services/api/json/1.3.0/?method=smugmug.reflection.getMethodInfo&MethodNam e=smugmug.styles.getTemplates' -O smugmug.styles.getTemplates gives Error 500 everytime I try. Also documentation page for this call is blank: http://wiki.smugmug.net/display/API/...s.getTemplates . All other API pages work fine. -- piotr |
|
|
|
|
#3
|
||
|
technicolored
|
Quote:
|
|
|
|
||
|
#4
|
|
|
ofMemories - Photography
|
Is there a way to retrieve "events" and "favorite albums" with the API?
|
|
|
|
|
#5
|
|
|
Huntsville Car Scene.com
|
Is smugmug.users.getStats fixed in this version of the API? It's been broken for years now.
__________________
Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com Want faster uploading? Vote for FTP! |
|
|
|
|
#6
|
|
|
Big grins
|
@MSkaffari - Though not mentioned in your post, I also notice that "smugmug.login.anonymously" and "smugmug.logout" are no longer listed in the 1.3.0 API Wiki.
Last edited by MarcusT; Sep-18-2011 at 10:58 AM. |
|
|
|
|
#7
|
|
|
ofMemories - Photography
|
Keywords access
Is there a way with the API to retrieve the list of images for a keyword, as well as retrieve a list of keywords?
|
|
|
|
|
#8
|
|
|
SmugMug Product Manager
|
Unfortunately keywords are not well supported in 1.3.0 and older API. You can get the keywords for images and videos, but you can't search based on keywords. This is something we are working on for the next release of the API.
|
|
|
|
|
#9
|
||
|
Huntsville Car Scene.com
|
Quote:
__________________
Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com Want faster uploading? Vote for FTP! |
|
|
|
||
|
#10
|
|
|
SmugMug Product Manager
|
We sure aim to have all methods work with our API.
|
|
|
|
|
#11
|
|
|
Huntsville Car Scene.com
|
So when will this start working again? I completely scrapped an idea to make a widget based on this method over two years ago.
__________________
Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com Want faster uploading? Vote for FTP! |
|
|
|
|
#12
|
|
|
Big grins
|
Hello;
Just wondering if there are any thoughts on the Pro-pricing API's being reactivated in 1.3.0? I had asked about it back in 2010, here: http://dgrin.com/showthread.php?t=176117 , and it was indicated that it would be in the pipeline for coming development. If it is, is there a timeframe? Thanks, David
__________________
http://www.d2pics.com |
|
|
|
|
#13
|
|
|
Big grins
|
[bump]..... anyone from SmugMug ?
|
|
|
|
|
#14
|
|
|
Huntsville Car Scene.com
|
I didn't get a reply to my question either.
__________________
Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com Want faster uploading? Vote for FTP! |
|
|
|
|
#15
|
|
|
Beginner grinner
|
Need Similar Help
Hello, I am trying to simply list the current galleries (with a thumb nail) on a site I am designing - with hyper links to the actual gallery on smugmug. I have been searching for days trying to find example code, looking the API information on SmugMug, trying to find 3rd party scripts, etc.
Here is the website I am working on: http://nickelcitybooths.com/ Here is a link to their galleries: http://nickelcityphotobooths.smugmug.com/ I think if I could simply see the actual javascrip or php code as an example to follow I would be just fine. Thank you for your help. Aron |
|
|
|
| Tell The World! | |
| Similar Threads | Thread Starter | Forum | Replies | Last Post | ![]() |
| Looking for a SmugMug API and Open Video Player developer | normsm | SmugMug APIs, Hacks & Tricks | 0 | Jul-23-2011 05:00 PM | |
| evaluating the possibilities of SmugMug API | syntern | SmugMug APIs, Hacks & Tricks | 3 | May-23-2011 06:37 AM | |
| SmugMug + Blurb Book partnership ... | David Tomic | SmugMug Pro Sales Support | 77 | Nov-17-2007 06:23 AM | |
| smugmug vs. pbase - Does anyone use the smugmug "traditional" view? | jfriend | SmugMug Support | 45 | Feb-17-2006 08:48 AM | |
| Thread Tools | |
| Display Modes | |
|
|