x: within.website/x/web/tokipana Index | Files

package tokipana

import "within.website/x/web/tokipana"

Package tokipana wraps http://inamidst.com/services/tokipana.

Index

Package Files

tokipana.go

Constants

const APIURL = `http://inamidst.com/services/tokipana`

The API URL.

func Translate Uses

func Translate(text string) *http.Request

Translate returns a request to translate the given toki pona text into english.

func Validate Uses

func Validate(resp *http.Response) error

Validate checks if a response from the API is valid or not.

Package tokipana imports 3 packages (graph). Updated 2019-06-07. Refresh now. Tools for package owners.