Skip to content

agouil/deepgram-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deepgram-go

A Go wrapper for the Deepgram API - https://www.deepgram.com

GoDoc

Installation

Install this package with:

go get github.com/agouil/deepgram-go

Documentation

There is an online reference to the documentation on the GoDoc site.

Usage

package main

import (
    "fmt"
    "github.com/agouil/deepgram-go"
)

func main() {
    deepgramClient := deepgram.Deepgram{
        ApiKey: <DEEPGRAM_API_KEY>,
    }
    result, err := deepgramClient.CheckBalance()
    if err != nil {
        fmt.Println(err)
        return
    }
    fmt.Println(
        "Balance:", result.Balance,
        "UserID:", result.UserId,
    )
}

Contributing

Pull requests are welcome! 💪

Testing

Run tests with:

go test -v

Issues

To submit any issues, raise an issue through the Issues Page

License

MIT

About

A Go wrapper for the Deepgram API - https://www.deepgram.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages