github_trend 1.1.10 copy "github_trend: ^1.1.10" to clipboard
github_trend: ^1.1.10 copied to clipboard

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

example/github_trend_example.dart

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
  }
}
0
likes
40
pub points
12%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

html, http

More

Packages that depend on github_trend