Skip to content

Get the popular repository on github. You can also get popular repository by language or date(daily, weekly, monthly).

License

Notifications You must be signed in to change notification settings

myfreax/github_trending

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github trending api for dart

Get the popular repository on github. You can also get popular repository by language or time(daily, weekly, monthly).

Install

install from pub dev

Usage

A simple usage example:

import 'package:github_trend/github_trend.dart';
import 'package:html/dom.dart';

main() async {
  GithubTrend githubTrend = GithubTrend();
  try {
    Document document = await githubTrend.fetchTrending();
    List<Repo> repos = Repos(document).list;
    List<String> languages = Languages(document).list;
    repos[0].name;
    print(languages);
  } catch (e) {
    // handle error
  }
}

Doc

Online Doc

Local Doc

git clone git@github.com:huangyanxiong01/github_trending.git
pub get
dartdoc
pub global activate dhttpd
dhttpd --path doc/api

Server started on port 8080

Features and bugs

Please file feature requests and bugs at the issue tracker.

About

Get the popular repository on github. You can also get popular repository by language or date(daily, weekly, monthly).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages