Simple API for getting trending repositories on GitHub
go get github.com/ecrmnn/trending-github-go
import trending "github.com/ecrmnn/trending-github-go"
trending.All("daily")
// Returns []Repository for all languages today
trending.Language("Go", "weekly")
// Returns []Repository for a specific language this week
type Repository struct {
author string
name string
href string
description string
language string
stars int
forks int
}
MIT © Daniel Eckermann