wit-go alternatives and similar packages
Based on the "Third-party APIs" category.
Alternatively, view wit-go alternatives based on common mentions on social networks and blogs.
-
go-openai
OpenAI ChatGPT, GPT-3, GPT-4, DALL·E, Whisper API wrapper for Go -
goamz
Popular fork of goamz which adds some missing API calls to certain packages. -
webhooks
:fishing_pole_and_fish: Webhook receiver for GitHub, Bitbucket, GitLab, Gogs -
githubql
Package githubv4 is a client library for accessing GitHub GraphQL API v4 (https://docs.github.com/en/graphql). -
twitter-scraper
Scrape the Twitter frontend API without authentication with Golang. -
lark
Feishu(飞书)/Lark Open API Go SDK, Support ALL Open API and Event Callback. -
openaigo
OpenAI GPT3/3.5 and GPT4 ChatGPT API Client Library for Go, simple, less dependencies, and well-tested -
go-lark
An easy-to-use SDK for Feishu and Lark Open Platform (Instant Messaging API only) -
gostorm
GoStorm is a Go library that implements the communications protocol required to write Storm spouts and Bolts in Go that communicate with the Storm shells. -
clarifai
DEPRECATED: please use https://github.com/Clarifai/clarifai-go-grpc -
hipchat (xmpp)
A golang package to communicate with HipChat over XMPP -
go-trending
Go library for accessing trending repositories and developers at Github. -
simples3
Simple no frills AWS S3 Golang Library using REST with V4 Signing (without AWS Go SDK) -
go-tgbot
Golang telegram bot API wrapper, session-based router and middleware -
cachet
Go(lang) client library for Cachet (open source status page system). -
google-play-scraper
Golang scraper to get data from Google Play Store -
ynab
Go client for the YNAB API. Unofficial. It covers 100% of the resources made available by the YNAB API.
Free Global Payroll designed for tech teams
Do you think we are missing an alternative of wit-go or a related project?
README
This repository is community-maintained. We gladly accept pull requests. Please see the Wit HTTP Reference for all supported endpoints.
Go client for wit.ai HTTP API.
Install
go get -u github.com/wit-ai/wit-go/v2
Usage
package main
import (
"os"
"fmt"
witai "github.com/wit-ai/wit-go/v2"
)
func main() {
client := witai.NewClient(os.Getenv("WIT_AI_TOKEN"))
// Use client.SetHTTPClient() to set custom http.Client
msg, _ := client.Parse(&witai.MessageRequest{
Query: "hello",
})
fmt.Printf("%v", msg)
}
Testing
Both Unit / Integration tests are executed by Github Actions.
Unit tests
go test -race -v
Integration tests
Integration tests are connecting to real Wit.ai API, so you need to provide a valid token:
export WITAI_INTEGRATION_TOKEN=your_secret_token_here
go test -v -tags=integration
License
The license for wit-go can be found in LICENSE file in the root directory of this source tree.
*Note that all licence references and agreements mentioned in the wit-go README section above
are relevant to that project's source code only.