https://github.com/everpcpc/pixiv
Pixiv API for Golang
https://github.com/everpcpc/pixiv
client go golang pixiv
Last synced: about 1 year ago
JSON representation
Pixiv API for Golang
- Host: GitHub
- URL: https://github.com/everpcpc/pixiv
- Owner: everpcpc
- License: mit
- Created: 2018-08-10T13:51:53.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2025-02-13T01:42:32.000Z (over 1 year ago)
- Last Synced: 2025-03-31T15:19:52.500Z (about 1 year ago)
- Topics: client, go, golang, pixiv
- Language: Go
- Size: 10.3 MB
- Stars: 47
- Watchers: 6
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pixiv

[](https://codecov.io/gh/everpcpc/pixiv)
[](https://goreportcard.com/report/github.com/everpcpc/pixiv)
[](https://godoc.org/github.com/everpcpc/pixiv)
Pixiv API for Golang (with Auth supported)
Inspired by [pixivpy](https://github.com/upbit/pixivpy)
## example
```golang
account, err := pixiv.Login("username", "password")
app := pixiv.NewApp()
user, err := app.UserDetail(uid)
illusts, next, err := app.UserIllusts(uid, "illust", 0)
illusts, next, err := app.UserBookmarksIllust(uid, "public", 0, "")
illusts, next, err := app.IllustFollow("public", 0)
```