https://github.com/ecrmnn/trending-github-go
Simple API for getting trending repositories on GitHub
https://github.com/ecrmnn/trending-github-go
Last synced: 2 months ago
JSON representation
Simple API for getting trending repositories on GitHub
- Host: GitHub
- URL: https://github.com/ecrmnn/trending-github-go
- Owner: ecrmnn
- License: mit
- Created: 2017-11-03T11:28:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-03T11:34:04.000Z (over 7 years ago)
- Last Synced: 2025-02-09T06:27:35.794Z (4 months ago)
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# trending-github-go
> Simple API for getting trending repositories on GitHub[](https://travis-ci.org/ecrmnn/trending-github-go/builds)
### Installation
```bash
go get github.com/ecrmnn/trending-github-go
```### Usage
```
import trending "github.com/ecrmnn/trending-github-go"
``````go
trending.All("daily")
// Returns []Repository for all languages todaytrending.Language("Go", "weekly")
// Returns []Repository for a specific language this week
``````go
type Repository struct {
author string
name string
href string
description string
language string
stars int
forks int
}
```### License
MIT © [Daniel Eckermann](http://danieleckermann.com)