Haxe functions to use the GitHub API Integration.

put this command in your cmd:
haxelib install haxe-githubif you want to have the latest version of Lib:
haxelib git haxe-github https://github.com/GuineaPigUuhh/haxe-github.gitimporthaxegithub.utils.*;
finalusername:String='GuineaPigUuhh';
finalreponame:String='haxe-github';
finalrepository=Repository.get(username, reponame);
finaluser=User.get(username);
Sys.println('USER: '+user.name);
Sys.println('FOLLOWERS: '+user.followers+' FOLLOWING: '+user.following);
Sys.println('REPOSITORY: '+repository.name+' by '+repository.owner.login);Result:
/* USER: https://api.github.com/users/GuineaPigUuhh FOLLOWERS: 13 FOLLOWING: 84 REPOSITORY: https://api.github.com/repos/GuineaPigUuhh/haxe-github*/