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();
copied to clipboard

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`.
);
copied to clipboard

var result = await ghTrendingDevelopers();
copied to clipboard

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`.
);
copied to clipboard

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
150
points
52
downloads

Publisher

verified publisherxamantra.dev

Weekly Downloads

2024.08.04 - 2025.02.16

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

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

equatable, html, http

More

Packages that depend on gh_trend