https://github.com/kostaspt/go-datamuse
Go library for Datamuse API
https://github.com/kostaspt/go-datamuse
api-wrapper datamuse datamuse-api dictionary go golang linguistics rhymes suggestions words wordsearch
Last synced: 6 months ago
JSON representation
Go library for Datamuse API
- Host: GitHub
- URL: https://github.com/kostaspt/go-datamuse
- Owner: kostaspt
- License: mit
- Created: 2018-09-03T06:03:39.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2023-08-05T12:19:49.000Z (about 2 years ago)
- Last Synced: 2025-03-14T00:05:30.272Z (7 months ago)
- Topics: api-wrapper, datamuse, datamuse-api, dictionary, go, golang, linguistics, rhymes, suggestions, words, wordsearch
- Language: Go
- Size: 34.2 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-datamuse
[](https://github.com/kostaspt/go-datamuse/actions)
[](https://github.com/kostaspt/go-datamuse/releases)
[](https://github.com/kostaspt/go-datamuse/blob/main/LICENCE)
[](https://pkg.go.dev/github.com/kostaspt/go-datamuse)
[](https://coveralls.io/github/kostaspt/go-datamuse?branch=master)
[](https://goreportcard.com/report/github.com/kostaspt/go-datamuse)A [Go(lang)](https://golang.org/) library for the [Datamuse API](https://www.datamuse.com/api/).
Documentation: [pkg.go.dev/github.com/kostaspt/go-datamuse](https://pkg.go.dev/github.com/kostaspt/go-datamuse)
## Installation
```bash
$ go get -u github.com/kostaspt/go-datamuse/v2
```## Example
```go
package mainimport "github.com/kostaspt/go-datamuse/v2"
func main() {
ml, _ := datamuse.New().Words().MeansLike("ringing in the ears").Get()
// [{Word:tinnitus Score:51691 SyllablesCount:0 Tags:[syn n]} ...]
}
```Check [more examples](https://github.com/kostaspt/go-datamuse/blob/master/examples_test.go).