gh_trend 1.1.0 copy "gh_trend: ^1.1.0" to clipboard
gh_trend: ^1.1.0 copied to clipboard

GitHub trending (developers & repositories) scraper for dart and flutter.

GitHub trending scraper for dart and flutter.

Pub Version


var result = await ghTrendingRepositories();

The ghTrendingRepositories() method will return a list of GithubRepoItem.

It also provides optional parameters like:

var result = await ghTrendingRepositories(
  spokenLanguageCode: 'en',
  programmingLanguage: 'javascript',
  dateRange: GhTrendDateRange.thisWeek, // or `today` or `thisMonth`.
);

var result = await ghTrendingDevelopers();

The ghTrendingDevelopers() method will return a list of GithubDeveloperItem.

It also provides optional parameters like:

var result = await ghTrendingDevelopers(
  programmingLanguage: 'javascript',
  dateRange: GhTrendDateRange.thisWeek, // or `today` or `thisMonth`.
);

Parameters #

spokenLanguageCode - use the provided ghSpokenLanguages map to access all spoken languages. You can use the map value for the UI and map key for the parameter.

programmingLanguage - use the provided ghProgrammingLanguages map to access all programming languages. You can use the map value for the UI and map key for the parameter.

dateRange - use the GhTrendDateRange enum to access all possible date range. Call the provided method ghDateRangeLabel(...) for displaying the value to the UI.

3
likes
130
pub points
0%
popularity

Publisher

verified publisherxamantra.dev

GitHub trending (developers & repositories) scraper for dart and flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

equatable, html, http

More

Packages that depend on gh_trend