var appConstants = require('../constants/appConstants');
var axios = require('axios');

var id = "YOUR_CLIENT_ID_HERE";
var sec = "YOUR_SECRET_ID_HERE";
var param = "?client_id=" + id + "&client_secret=" + sec;

var githubUtils = {
  getBio: function(username){
    var url = "https://api.github.com/users/" + username + param;
    return axios.get(url);
  },
  getRepos: function(username){
    var url = "https://api.github.com/users/" + username + "/repos" + param;
    return axios.get(url);
  }
};

module.exports = githubUtils;
@@ -95,60 +95,82 @@
  = %22
-YOUR_CLIENT_ID_HERE%22;%0Avar sec = %22YOUR_SECRET_ID_HERE
+f2e272948565c4ead60e%22;%0Avar sec = %225e76c6da6e2bc056bbb4d7740c11c3eb909211bc
 %22;%0Av
@@ -548,8 +548,9 @@
 ubUtils;
+%0A

Connect to Github API