Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages