Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/everpcpc/pixiv
Pixiv API for Golang
https://github.com/everpcpc/pixiv
client go golang pixiv
Last synced: 16 days 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 (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-07-18T02:16:46.000Z (over 1 year ago)
- Last Synced: 2024-10-13T17:26:47.140Z (about 1 month ago)
- Topics: client, go, golang, pixiv
- Language: Go
- Size: 10.3 MB
- Stars: 44
- Watchers: 6
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pixiv
![test](https://github.com/everpcpc/pixiv/workflows/test/badge.svg?branch=main&event=push)
[![codecov](https://codecov.io/gh/everpcpc/pixiv/branch/main/graph/badge.svg)](https://codecov.io/gh/everpcpc/pixiv)
[![Go Report Card](https://goreportcard.com/badge/github.com/everpcpc/pixiv)](https://goreportcard.com/report/github.com/everpcpc/pixiv)
[![godoc](https://img.shields.io/badge/godoc-reference-5272B4.svg)](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)
```