Skip to content

Timo972/go-spinrewriter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-spinrewriter

A minimalistic but fully featured go client for the spinrewriter AI API.
Currently in an experimental state, the package will soon be battle tested and hopefully proven as stable.

API Stability

  • ✅ Quota
  • ✅ Spintax
  • 🚧 UniqueVariation
  • 🚧 UniqueSpintaxVariation

✅ = Tested 🚧 = Untested

⚡️ Quickstart

package main

import "github.com/timo972/go-spinrewriter"

func main() {
    client := spinrewriter.New("email", "apiKey")

	spintax, err := client.Spintax("This is a sentence.")
	if err != nil {
		log.Fatalln(err)
	}

	log.Printf("Text options: %d", spintax.NumOptions())
}

⚙️ Installation

Make sure you have Go installed (download). Version 1.19 or higher is required.

Initialize your project by creating a folder and then running go mod init github.com/your/repo (learn more) inside the folder. Then install the spinrewriter client with the go get command:

go get -u github.com/timo972/go-spinrewriter

⛔️ Limitations

The client does not circumvent limitations set by the Spinrewriter API. Make sure to check out their documentation!

About

Experimental Spinrewriter AI Go API client

Topics

Resources

License

Stars

Watchers

Forks

Languages