Skip to content

Commit 098c86f

Browse files
committed
Added More Api From Github
1 parent 1a642c0 commit 098c86f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ function getData(){
1414
var Username = data['login'];
1515
var Location = data['location'];
1616
var Repository = data['public_repos'];
17+
var Company = data['company'];
1718
var Followers = data['followers'];
1819
var Url = data['html_url'];
1920
var joined = data['created_at'];
2021
var html = '<center><img src="' + Avatar + '"width="100px" height="100px" style="border:3px solid #fff">';
2122
html += '<h1><span class="label label-success">' + Username + '</h1>';
2223
html += '<br><b><span class="label label-primary"style="color: white;">Followers: ' + Followers +'</b>';
24+
html += '<br><b><span class="label label-primary"style="color: white;">Company: ' + Company +'</b>';
2325
html += '<br><b><span class="label label-primary"style="color: white;">Repositorys: ' + Repository +'</b>';
2426
html += '<br><b><span class="label label-primary"style="color: white;">Location: ' + Location +'</b>';
2527
html += '<br><b><span class="label label-primary"style="color: black;">Joined: ' + joined +'</b>';

0 commit comments

Comments
 (0)