moving the api call into the conditional
Merge branch 'master' of https://github.com/pmeissner/behancer