Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/severecloud/shikimori
https://github.com/severecloud/shikimori
shikimori shikimori-api
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/severecloud/shikimori
- Owner: SevereCloud
- License: mit
- Created: 2023-04-28T18:00:41.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-25T03:51:49.000Z (8 months ago)
- Last Synced: 2024-04-25T04:41:14.190Z (8 months ago)
- Topics: shikimori, shikimori-api
- Language: Go
- Homepage:
- Size: 63.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 93
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# shikimori
[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/shikimori/v2)](https://pkg.go.dev/github.com/SevereCloud/shikimori)
[![codecov](https://codecov.io/gh/SevereCloud/shikimori/branch/master/graph/badge.svg)](https://codecov.io/gh/SevereCloud/shikimori)
[![release](https://img.shields.io/github/v/tag/SevereCloud/shikimori?label=release)](https://github.com/SevereCloud/shikimori/releases)
[![license](https://img.shields.io/github/license/SevereCloud/shikimori.svg?maxAge=2592000)](https://github.com/SevereCloud/vksdk/blob/master/LICENSE)Status - https://github.com/SevereCloud/shikimori/milestone/1
```go
package mainimport (
"context"
"log""github.com/SevereCloud/shikimori"
)func main() {
shiki := shikimori.NewAPI()// shiki.UserAgent = "MyUserAgent"
// shiki.AccessToken = os.Getenv("ACCESS_TOKEN")ctx := context.Background()
resp, err := shiki.UsersAnimeRates(ctx, "SevereCloud", &shikimori.UsersAnimeRateParams{
Limit: 1,
Status: shikimori.Watching,
})
if err != nil {
log.Fatal(err)
}log.Println(resp[0].Anime.Name)
}```