examples/api/get-kittens.api.js
function getPhotoUrl(data) {
    return FLICK_PHOTO_URL_TEMPLATE
        .replace('{farm-id}', data.farm)
        .replace('{server-id}', data.server)
        .replace('{id}', data.id)
        .replace('{secret}', data.secret)
        .replace('{size}', 'm');
}
function getPhotoUrl(data) {
    return FLICK_PHOTO_URL_TEMPLATE
        .replace('{farm-id}', data.farm)
        .replace('{server-id}', data.server)
        .replace('{id}', data.id)
        .replace('{secret}', data.secret)
        .replace('{size}', 'm');
}
function getPhotoUrl ( data ) { return FLICK_PHOTO_URL_TEMPLATE . replace ( '{farm-id}' , data . farm ) . replace ( '{server-id}' , data . server ) . replace ( '{id}' , data . id ) . replace ( '{secret}' , data . secret ) . replace ( '{size}' , 'm' ) ; }
Build url for a photo.

@see ../../tests/examples/api/get-kittens.test.js Tests for the API method.
@param {Object} data Data for the flickr photo.
@return {String}
Build url for a photo .