github_trending 0.2.0

Dart native js
Flutter Android iOS web

A library to get GitHub trending repositories and developers, with languages and period options.

example/github_trending_example.dart

import 'package:github_trending/github_trending.dart';

void main() async {
  // get trending repositories
  var repos = await getTrendingRepositories();
  print(repos[0].name);

  // specify time period
  var weeklyRepos = await getTrendingRepositories(since: 'weekly');
  print(weeklyRepos[0].name);

  // specify language
  var dartRepos = await getTrendingRepositories(language: 'dart');
  print(dartRepos[0].language); // Dart
  print(dartRepos[0].languageColor); // #00B4AB
}
1
likes
90
pub points
57%
popularity

A library to get GitHub trending repositories and developers, with languages and period options.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

pd4d10@gmail.com

License

MIT (LICENSE)

Dependencies

http, json_annotation

More

Packages that depend on github_trending