var apiKey = require('./../.env').apiKey;


function GithubSearch() {

}

GithubSearch.prototype.getRepos = function(userName) {
  $.get('https://api.github.com/users/' + userName + '?access_token=' + apiKey).then(function(response){
     console.log(response);
   }).fail(function(error){
     console.log(error.responseJSON.message);
   });
};

exports.searchModule = GithubSearch;

@@ -118,20 +118,33 @@
 userName
+, displayName
 ) %7B%0A
-
   $.get(
@@ -245,27 +245,27 @@
 )%7B%0A     
-console.log
+displayName
 (respons
@@ -265,16 +265,21 @@
 response
+.name
 );%0A   %7D)
@@ -358,12 +358,306 @@
 %7D);%0A
+// user name%0A   $.get('https://api.github.com/users/' + userName + '/repos?access_token=' + apiKey).then(function(response)%7B%0A     for (var index = 0; index %3C= response.length; index++ ) %7B%0A       console.log(response%5Bindex%5D.name);%0A       console.log(response%5Bindex%5D.description);%0A     %7D%0A   %7D);%0A
 %7D;%0A%0A
+%0A
 expo

remove console log; display to interfacefile