Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qiaocco/ghtrending


https://github.com/qiaocco/ghtrending

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Usage

install package:
```shell
go get -u github.com/qiaocco/ghtrending
```

fetch trending repositories:
```go
func main() {
trending := ghtrending.New()
repos, err := trending.FetchRepos()
if err != nil {
log.Fatal(err)
}

for _, repo := range repos {
fmt.Printf("repo=%#v\n", repo)
}
}
```

fetch trending developers:
```go
developers, err := trending.FetchDevelopers()
```