🐾 nya~
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).
go get -u github.com/fawni/nekos/v2
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) // (ฅ’ω’ฅ)
}