This is a Go client library for Telnyx Programmable Voice API.
At the time of writing, Telnyx does not provide an official Go SDK for their APIs. Please check the official Developer setup section of the Telnyx Docs for updates and a possible release of an official Go SDK in the future.
For now, this library only contains a package for generating TeXML.
This library is still in active development. Be aware that not all TeXML verbs and nouns have been fully implemented yet. Please see below for a full list of the completed verbs and nouns. If you would like to contribute, please see feel free to submit a pull request.
The recommended way to install telnyx-go
is by using Go modules.
If you already have an initialized project, you can run the command below from your terminal in the project directory to install the library:
go get github.com/andersryanc/telnyx-go
If you are starting from scratch in a new directory, you will first need to create a go.mod file for tracking dependencies such as telnyx-go. This is similar to using package.json in a Node.js project or requirements.txt in a Python project. You can read more about mod files in the Go documentation. To create the file, run the following command in your terminal:
go mod init texml-example
Once the module is initialized, you may run the installation command from above, which will update your go.mod file to include telnyx-go.