https://github.com/stscoundrel/starboard
List received Github stars by user
https://github.com/stscoundrel/starboard
github golang golang-library starboard stars
Last synced: 7 months ago
JSON representation
List received Github stars by user
- Host: GitHub
- URL: https://github.com/stscoundrel/starboard
- Owner: stscoundrel
- License: mit
- Created: 2022-11-01T19:03:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-06T08:17:38.000Z (about 2 years ago)
- Last Synced: 2025-03-25T07:38:24.291Z (11 months ago)
- Topics: github, golang, golang-library, starboard, stars
- Language: Go
- Homepage: https://pkg.go.dev/github.com/stscoundrel/starboard
- Size: 33.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Starboard
List stars user has received in their Github repositories. A Golang library.
Also available as an [API](https://github.com/stscoundrel/starboard-gin).
## Install
`go get github.com/stscoundrel/starboard`
## Usage
Starboard exposes a function for getting Github stars by username. The request goes through public search API, so no authentication is required.
```go
package main
import (
"fmt"
"github.com/stscoundrel/starboard/stars"
)
func main() {
// Get list of all of users repos that have received stars
stars, err := stars.GetStars("stscoundrel")
fmt.Println(stars[0])
// {
// Repository: "stscoundrel/starboard",
// Count: 1,
// Link: "https://github.com/stscoundrel/starboard",
// StarGazersLink: "https://api.github.com/repos/stscoundrel/starboard/stargazers",
// },
}
```