• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Old Jul-27-2011, 03:38 PM
#1
MSkaffari is offline MSkaffari OP
SmugMug Product Manager
MSkaffari's Avatar
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.
Old Aug-01-2011, 08:11 PM
#2
piotr.maj is offline piotr.maj
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
Old Aug-01-2011, 11:39 PM
#3
devbobo is offline devbobo
technicolored
devbobo's Avatar
Quote:
Originally Posted by piotr.maj View Post
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
Thanks, I'll take a look... probably a minor issue.
__________________
David Parry
SmugMug API Developer
My Photos
Old Aug-25-2011, 07:54 AM
#4
SherwinJames is offline SherwinJames
ofMemories - Photography
Is there a way to retrieve "events" and "favorite albums" with the API?
__________________
Sherwin James
www.ofmemories.com
photographer.sherwinjames.com
Old Aug-26-2011, 09:53 PM
#5
SamirD is offline SamirD
Huntsville Car Scene.com
SamirD's Avatar
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!
Old Sep-18-2011, 10:42 AM
#6
MarcusT is offline MarcusT
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.
Old Sep-19-2011, 05:18 AM
#7
SherwinJames is offline SherwinJames
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?
__________________
Sherwin James
www.ofmemories.com
photographer.sherwinjames.com
Old Sep-20-2011, 11:19 AM
#8
MSkaffari is offline MSkaffari OP
SmugMug Product Manager
MSkaffari's Avatar
Quote:
Originally Posted by SherwinJames View Post
Is there a way with the API to retrieve the list of images for a keyword, as well as retrieve a list of keywords?
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.
Old Sep-21-2011, 08:40 PM
#9
SamirD is offline SamirD
Huntsville Car Scene.com
SamirD's Avatar
Quote:
Originally Posted by MSkaffari View Post
This is something we are working on for the next release of the API.
What about the stats method? Any plans to fix that?
__________________
Pictures and Videos of the Huntsville Car Scene: www.huntsvillecarscene.com
Want faster uploading? Vote for FTP!
Old Sep-22-2011, 12:59 PM
#10
MSkaffari is offline MSkaffari OP
SmugMug Product Manager
MSkaffari's Avatar
Quote:
Originally Posted by SamirD View Post
What about the stats method? Any plans to fix that?
We sure aim to have all methods work with our API.
Old Sep-24-2011, 08:33 PM
#11
SamirD is offline SamirD
Huntsville Car Scene.com
SamirD's Avatar
Quote:
Originally Posted by MSkaffari View Post
We sure aim to have all methods work with our API.
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!
Old Oct-14-2011, 10:04 AM
#12
dsdee is online now dsdee
Big grins
dsdee's Avatar
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
Old Nov-09-2011, 07:58 AM
#13
dsdee is online now dsdee
Big grins
dsdee's Avatar
[bump]..... anyone from SmugMug ?
Old Nov-09-2011, 08:48 AM
#14
SamirD is offline SamirD
Huntsville Car Scene.com
SamirD's Avatar
Quote:
Originally Posted by dsdee View Post
[bump]..... anyone from SmugMug ?
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!
Old Jun-05-2012, 07:51 AM
#15
aronswebsites is offline aronswebsites
Beginner grinner
Need Similar Help
Quote:
Originally Posted by MSkaffari View Post
We sure aim to have all methods work with our API.
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

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump