New c# SmugMug API smug# - includes sample app for copying from flickr to SmugMug

ebswiftebswift Registered Users Posts: 94 Big grins
I've finally gotten around to getting some more code out to the wild. This time it's my complete back-end c# API that I used to write Smugfoto (minus all the web frontend for Smugfoto).

As a bonus I've thrown in a sample application to demonstrate the API - a flickr to SmugMug copy utility. This utility uses the web to copy your photos, so there's no round-trip back to your PC - this is necessary in my bandwidth-deprived part of the world. The utility is completely graphical as in the following screenshot:

copy2smug-sm.png

The back-end caching database uses SQLite, the code comes in the form of a VS.Net 2010 solution. You can use SharpDevelop 4.x for free if you don't have VS.Net 2010.

This is not a feature-complete API for all of SmugMug's functions, but that doesn't detract from its usefulness. What it does very well is it localises the SmugMug structure for complex processing (e.g. the sample app and Smugfoto). I might start adding in SmugMug features, however I haven't looked at the other c# API yet to see if it's even worth duplicating that effort. It might turn out that this API may complement other API's, but I haven't looked. Maybe I can get some feedback on that.

This API is not based on anything, it is written completely from scratch. It has been re-written about 5 times for stability, performance and sanity and has taken literally hundreds of hours of development. The license is LGPL, so you can use the API in any type of app you like (commercial or otherwise).

The API's home page is here:

smug#

Try Smugfoto in Facebook for displaying your SmugMug galleries.

Comments

  • ebswiftebswift Registered Users Posts: 94 Big grins
    edited December 9, 2010
    Just for fun I've thrown in an installer for the sample app for those who just want that and not all the API code. The .Net Framework 4 is required for the sample app, and since it uses WPF, I think that means WinXP and above only.

    Try Smugfoto in Facebook for displaying your SmugMug galleries.
Sign In or Register to comment.