https://github.com/tsirysndr/go-genius
Go library for accessing the Genius API
https://github.com/tsirysndr/go-genius
genius-api genius-lyrics genius-rap golang lyrics
Last synced: 6 months ago
JSON representation
Go library for accessing the Genius API
- Host: GitHub
- URL: https://github.com/tsirysndr/go-genius
- Owner: tsirysndr
- License: bsd-3-clause
- Created: 2019-12-23T22:47:57.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-04T09:11:14.000Z (almost 6 years ago)
- Last Synced: 2025-03-25T18:40:20.947Z (7 months ago)
- Topics: genius-api, genius-lyrics, genius-rap, golang, lyrics
- Language: Go
- Size: 29.3 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Welcome to go-genius 👋 *** Work In Progress ***
go-genius is a Go client library for accessing the [Genius API](https://docs.genius.com/)
## 🚚 Install
```sh
go get github.com/tsirysndr/go-genius
```## 🚀 Usage
Import the package into your project.
```Go
import "github.com/tsirysndr/go-genius"
```Construct a new Genius client, then use the various services on the client to access different parts of the Genius API. For example:
```Go
client := genius.NewClient("")
res, _ := client.Search.Get("Kendrick Lamar")
hits, _ := json.Marshal(res)
fmt.Println(string(hits))
```## Coverage
Currently the following services are supported:
- [x] Search
- [x] Get artist
- [ ] Get documents (songs) for the artist specified
- [x] Get referents
- [x] Get annotation
- [x] Get song
- [ ] Web Pages## Author
👤 **Tsiry Sandratraina**
* Twitter: [@tsiry_sndr](https://twitter.com/tsiry_sndr)
* Github: [@tsirysndr](https://github.com/tsirysndr)## Show your support
Give a ⭐️ if this project helped you!