I\'m trying to run this code but getting this error:
Request forbidden by administrative rules, make sure your request has a User-Agent header
Your options object does not have the headers option, describing the user-agent. Try this:
options
headers
user-agent
var options = { host: 'api.github.com', path: '/users/' + username + '/repos', method: 'GET', headers: {'user-agent': 'node.js'} };