Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
/ haxe-github Public archive

Haxe functions to use the Github API Integration.

License

Notifications You must be signed in to change notification settings

GuineaPigUuhh/haxe-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haxe Github

Haxe functions to use the GitHub API Integration.

Installation

put this command in your cmd:

haxelib install haxe-github

if you want to have the latest version of Lib:

haxelib git haxe-github https://github.com/GuineaPigUuhh/haxe-github.git

Usage Exemple

import haxegithub.utils.*;

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

final repository = Repository.get(username, reponame);
final user = 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
*/

If you want more demonstrations of the use of the lib, go to the examples folder



Developer:

About

Haxe functions to use the Github API Integration.

Topics

Resources

License

Stars

Watchers

Forks

Languages