haxe-github

Haxe Functions for GitHub API Integration.
https://github.com/GuineaPigUuhh/haxe-github

To install, run:

haxelib install haxe-github 1.1.3 

See using Haxelib in Haxelib documentation for more information.

README.md

Installation

put this command in your cmd: `bash haxelib install haxe-github`

if you want to have the latest version of Lib: `bash haxelib git haxe-github https://github.com/GuineaPigUuhh/haxe-github.git`

Usage Exemple

import haxegithub.utils.*;

final name:String = 'GuineaPigUuhh';
final reponame:String = 'haxe-github';

final repository = Repository.get(name, reponame);
final user = User.get(name);

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: 12 FOLLOWING: 71
  REPOSITORY: https://api.github.com/repos/GuineaPigUuhh/haxe-github
*/
If you want more demonstrations of the use of the lib, go to the examples folder

the Library being used in HaxeFlixel:

Contributors

Version
1.1.3
Published
2 years ago
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub

⌂