Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
/ nekos Public archive

🐾 Go library for nekos api

License

Notifications You must be signed in to change notification settings

fawni/nekos

Repository files navigation

nekos

🐾 nya~

Latest Release Go Reference Go Report Card

nekos is a feature-complete unofficial nekos.life api wrapper written in go. each endpoint in the api has a function that returns its response(s).

installation

go get -u github.com/fawni/nekos/v2

usage

package main

import (
	"fmt"
	"log"

	"github.com/fawni/nekos/v2"
)

func main() {
	cat, err := nekos.CatText()
	if err != nil {
		log.Fatalln(err)
	}
	fmt.Println(cat) // (ฅ’ω’ฅ)
}

license

OSL-3.0