Updates/REvisions to the API changes released in September - images in Project and Image Gallery

11 views
Skip to first unread message

Steve R.

unread,
Sep 30, 2010, 5:32:39 PM9/30/10
to GlobalGiving API
Due to some usability issues, we have expanded and revise the image
parts of the getProject and getImageGallery API's.

The previous xml structure will no longer be returned, in lieu of the
new structure.

Please review the new structure at http://www.globalgiving.org/to-go/get-all-projects.html
and http://www.globalgiving.org/to-go/get-image-gallery.html,
respectively.

In a nutshell, the image gallery especially was hard to use, because
there may be 10 or more images, each with a size "small", "medium",
etc, but it was nigh on impossible to relate the "small" with its
(same image) "medium" version. To fix this, we added a new nested
element, <imagelink> within each image. So an <image> element (which
used to represent only one size of an image), now represents an
"complete" single image, and within this element are one or more
<imagelink> elements which represent the various sizes available for
that image. In addition, we added an image title to the <image>.

Please let us know if you have any questions!

Thanks,
Steve
Reply all
Reply to author
Forward
0 new messages