KSoftgo

Official Golang API Wrapper for api.ksoft.si

Every API call in KSoftgo returns a struct and an error.

For example, this is how you would get a random wikihow:

package main

import "github.com/KSoft-Si/KSoftgo"

func main() {
	ksession, _ := ksoftgo.New("fancy-token")
	wikihow, err := ksession.RandomWikiHow()

	// Handle potential error  
	if err != nil {
		panic(err)
	}
	// Do something
	print(wikihow.URL)
}

In the following documentation, all required arguments will be marked bold.

Last updated