Go library to access Gelbooru-compatible API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dtluna 1eff0a1aaf Update docs 2 months ago
.gitignore Initial commit 2 months ago
LICENSE Initial commit 2 months ago
README.md Update docs 2 months ago
comments.go Add support for using any booru with Gelbooru-compatible API 2 months ago
constants.go Update docs 2 months ago
go.mod Initial commit 2 months ago
go.sum Initial commit 2 months ago
images.go Add support for using any booru with Gelbooru-compatible API 2 months ago

README.md

go-gelbooru

GoDoc

Go library to access Gelbooru-compatible API https://gelbooru.com/index.php?page=help&topic=dapi

Quickstart

package main

import (
	"fmt"
	"log"

	"git.dtluna.net/dtluna/go-gelbooru"
)

func main() {
	images, err := gelbooru.ListImages(gelbooru.Safebooru, 20, 1, []string{"swimsuit", "fate_(series)"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(images.Posts)
}