Announcing: First release of SmugFig API

flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
Hi everyone,

My SmugFig API is a Java API that builds upon the Smugmug Java API from Kallasoft, adding a more object-oriented approach, simple caching and support (and future implementation) of search-functionality.

The link to this API can be found here:
http://blog.antonspaans.com/smugfig-api/

This link includes more information about the API, downloads, examples, etc.

Thanks David and Riyad for all your help and support!
-- Anton Spaans.
I can't grasp the notion of time.

When I hear the earth will melt into the sun,
in two billion years,
all I can think is:
    "Will that be on a Monday?"
==========================
http://www.streetsofboston.com
http://blog.antonspaans.com

Comments

  • rkallarkalla Registered Users Posts: 108 Major grins
    edited January 1, 2008
    Hi everyone,

    My SmugFig API is a Java API that builds upon the Smugmug Java API from Kallasoft, adding a more object-oriented approach, simple caching and support (and future implementation) of search-functionality.

    The link to this API can be found here:
    http://blog.antonspaans.com/smugfig-api/

    This link includes more information about the API, downloads, examples, etc.

    Thanks David and Riyad for all your help and support!
    -- Anton Spaans.

    Congratulations Anton, I know you have been working on this API for a while and it's really turned out well. I'm sure folks needing to code anything against Smug will love you for it.
  • flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited March 7, 2008
    Hi everyone,

    My SmugFig API is a Java API that builds upon the Smugmug Java API from Kallasoft, adding a more object-oriented approach, simple caching and support (and future implementation) of search-functionality.

    The link to this API can be found here:
    http://blog.antonspaans.com/smugfig-api/

    This link includes more information about the API, downloads, examples, etc.

    Thanks David and Riyad for all your help and support!
    -- Anton Spaans.

    I will release version 0.1.1 soon, hopefully in the course of next week.
    For now, these issues and enhancements will be implemented:



    0.1.1

    Fixed a bug i SubCategoryPrototype>>getAll(int ID).
    mData.getCategoryID() was used instead of the provided ID.

    Fixed a bug in the cache handling of the postGetAll method.
    All objects in the named cache are returned, not the particular (modified) subset
    that is equal to the input of this postGetAll method.

    Added user.getTree method.
    This Smugmug method will be handled by the Account.getSmugObjectsHierarchy

    Added functionality to be able to refresh subsets of caches.
    Added getAllFromCache() method to ISmugObjectProtoype interface and the implementing classes.
    Added getAllFromCache(String subSetId) method to ISmugObjectProtoype interface and the implementing classes.
    Added getParentId() to ISmugObject interface and implementing classes. This id is used for the subSetId.

    Added support for smugmug-api-0.3.0

    Album titles can now be updated.

    Images now have a 'IsHidden' attribute.

    Added 'getFileName()' to the Image class.

    Added asynchronous smugmug-operations to ISmugObject and ISmugObjectPrototype.

    Added GUIDs: Smugmug Objects can handle them now (initial implementation).

    Improved the java-generics of the API

    An Image's TinyURL was not properly retrieved from the Smugmug Repository.



    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
  • rkallarkalla Registered Users Posts: 108 Major grins
    edited March 8, 2008
    I will release version 0.1.1 soon, hopefully in the course of next week.
    For now, these issues and enhancements will be implemented:

    Keep up the good work Anton!
  • flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited March 16, 2008
    Hi everyone,

    I just released a new version of the SmugFig API. It's version 0.1.1 and can be found here.
    http://blog.antonspaans.com/smugfig-api/

    Riyad and David, thank you very much for the help and support you have given me throughout the implementation of this API.

    Here is 0.1.1's change-log
    Fixed a bug in SubCategoryPrototype>>getAll(int ID).
    mData.getCategoryID() was used instead of the provided ID.

    Fixed a bug in the cache handling of the postGetAll method.

    All objects in the named cache are returned, not the particular (modified) subset that is equal to the input of this postGetAll method. (still to do).

    Added user.getTree method. This Smugmug method will be handled by the Account.getSmugObjectsHierarchy.

    Added functionality to be able to refresh subsets of caches.

    Added getAllFromCache() method to ISmugObjectProtoype interface and the implementing classes.

    Added getAllFromCache(String subSetId) method to ISmugObjectProtoype interface and the implementing classes.

    Added getParentId() to ISmugObject interface and implementing classes. This id is used for the subSetId.

    Added support for smugmug-api-0.3.0

    Added support for the new Smugmug security changes.

    Album titles can now be updated.

    Images now have a 'IsHidden' attribute.

    Added 'getFileName()' to the Image class.

    Added asynchronous smugmug-operations to ISmugObject and ISmugObjectPrototype.

    Added GUIDs: Smugmug Objects can handle them now (initial implementation).

    Improved the java-generics of the API

    An Image's TinyURL was not properly retrieved from the Smugmug Repository.

    Added two methods to the Session class to allow downloading of the owner's private images.

    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
  • flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited September 7, 2008
    Hi everyone,

    I just released a new version of the SmugFig API. It's version 0.1.2 and can be found here.
    http://blog.antonspaans.com/smugfig-api/

    Riyad and David, thank you very much for the help and support you have given me throughout the implementation of this API.

    Here is 0.1.2's change-log
    GUID: Don't create a new one when ID==IHadID.NO_ID.

    IMAGE_SIZE.Custom has been removed.

    Added static method AlbumPrototype.createNoSubCategory

    Replaced the ArrayList<String> for keywords with a brand new class called Keywords. This class extends ArrayList<String>

    setLargestImageSize is fixed to be able to handle 'null' as a value.

    Added an Image Cache caching raw-data (bytes) of images (ImageCache class).

    Added AsynchHandler.loginWithHash

    Added getCategory and getSubCategory to Image

    Image.write(OutputStream,IMAGE_SIZE) now uses the OriginalURL if possible to obtain the data for the image, if the image-size is not specified.

    Made the Album/AlbumTemplate.Data setters for ShowGeography and AllowRankPhotos public

    Fixed the Album.copy() method.

    Fixed issues with setting the largest image size, color-correction for printing and HasCustomAppearance attribute.

    Added a static method to Session that allows the caller to specify whether data/login-data/upload-data needs to be communicated of a non-secure or secure URL.

    SmugAttribute.setReturnNullIfNotChanged(boolean) now works for both getBackedValue() and get().

    Changed the creation of new objects using GUID.NO_GUID so that they can be distinguished from each-other.

    Smugmug API version 0.5.0 being used. Full support for ShareGroups and applying watermarks will be done in next version.

    Added ShowSquareThumbs attribute to AlbumTemplatePrototyp.Data (AlbumTemplates and Albums).

    Changed the type of Altitude from Integer to Double.
    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
Sign In or Register to comment.