Options

How about: getAllImageInfo?

flyingpylonflyingpylon Registered Users Posts: 260 Major grins
I've finally gotten some time to hack around with the API and have managed to cobble together a script that allows me to export a list of images and their original filenames. I will be importing this list into another database.

Something that would be quite useful is a method called getAllImageInfo (or similar) that would take an AlbumID and return all of the image info for each image in the album.

Though large albums could generate a pretty large response, it seems like it would beat what I'm doing now, which is iterating over the array returned by getImages and calling getImageInfo for each one.

Any thoughts?

Comments

  • Options
    NikolaiNikolai Registered Users Posts: 19,035 Major grins
    edited January 31, 2005
    My $.02
    I was asking similar question on a similar subject a few weeks ago.
    Onethumb explaind that they would actually prefer multiple requests, as far as they can be split acroos the farm, while one monolithic request can hold up one server for a long time.

    HTH
    "May the f/stop be with you!"
  • Options
    rainforest1155rainforest1155 Registered Users Posts: 4,566 Major grins
    edited January 31, 2005
    I've finally gotten some time to hack around with the API and have managed to cobble together a script that allows me to export a list of images and their original filenames. I will be importing this list into another database.
    Can't help you with the programming stuff, but I'm interested in your script, because I've got a picture database too and was looking forward to connect it with smugmug.
    I was looking for a way to get csv-file with filename, imageID, galleryID. Then getting this into my iMatch database and from there I could create direct links for every picture.

    In what language did you write your script and are you willing to share it? I would volunteer for some testing. thumb.gif

    Thanks,
    Sebastian
    Sebastian
    SmugMug Support Hero
Sign In or Register to comment.