Download the example or clone the repo:
curl https://codeload.github.com/zeit/micro/tar.gz/master | tar -xz --strip=2 micro-master/examples/external-api-call
cd external-api-callInstall it and run:
npm install
npm run startDeploy it to the cloud with now (download)
nowShows how to get data from an external api using async/await.