index.js
function apiUrlFor (shortcode, size) {
  if (!shortcode) throw new Error('shortcode parameter is required')
  size = size || 'l'

  var api = 'http://instagram.com/p/%s/media/?size=%s'
  return util.format(api, shortcode, size)
}
function apiUrlFor (shortcode, size) {
  if (!shortcode) throw new Error('shortcode parameter is required')
  size = size || 'l'

  var api = 'http://instagram.com/p/%s/media/?size=%s'
  return util.format(api, shortcode, size)
}
function apiUrlFor ( shortcode , size ) { if ( ! shortcode ) throw new Error ( 'shortcode parameter is required' ) size = size || 'l' var api = 'http://instagram.com/p/%s/media/?size=%s' return util . format ( api , shortcode , size ) }
Build the api url from it's ingredients
Build the api url from it s ingredients