Github trending api for dart

Get the popular repository on github,You can also get all the languages.And convert the data into Map, List, JSON

Usage

A simple usage example:

GithubTrend githubTrend = GithubTrend();
try {
  // default time language
  List<Map<String, dynamic>> repos = await githubTrend.fetchRepos();
  List<String> languages = await githubTrend.fetchLanguages()
  print(repos);
} catch (e) {
  // get origin response
  githubTrend.response;
  print(e);
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

Libraries

github_trend
Support for doing something awesome. [...]