Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-08-05T12:19:49.000Z (over 1 year ago)
- Last Synced: 2024-06-21T03:23:20.136Z (6 months ago)
- Topics: api-wrapper, datamuse, datamuse-api, dictionary, go, golang, linguistics, rhymes, suggestions, words, wordsearch
- Language: Go
- Size: 34.2 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-datamuse
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/kostaspt/go-datamuse/CI)](https://github.com/kostaspt/go-datamuse/actions)
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/kostaspt/go-datamuse)](https://github.com/kostaspt/go-datamuse/releases)
[![GitHub](https://img.shields.io/github/license/kostaspt/go-datamuse)](https://github.com/kostaspt/go-datamuse/blob/main/LICENCE)
[![Go Reference](https://pkg.go.dev/badge/github.com/kostaspt/go-datamuse.svg)](https://pkg.go.dev/github.com/kostaspt/go-datamuse)
[![Coveralls github](https://img.shields.io/coveralls/github/kostaspt/go-datamuse)](https://coveralls.io/github/kostaspt/go-datamuse?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/kostaspt/go-datamuse)](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).