golyrics alternatives and similar packages
Based on the "Third-party APIs" category.
Alternatively, view golyrics alternatives based on common mentions on social networks and blogs.
-
githubql
Package githubv4 is a client library for accessing GitHub GraphQL API v4 (https://docs.github.com/en/graphql). -
openaigo
OpenAI GPT3/3.5 and GPT4 ChatGPT API Client Library for Go, simple, less dependencies, and well-tested -
gostorm
GoStorm is a Go library that implements the communications protocol required to write Storm spouts and Bolts in Go that communicate with the Storm shells. -
ynab
Go client for the YNAB API. Unofficial. It covers 100% of the resources made available by the YNAB API.
WorkOS - The modern identity platform for B2B SaaS
Do you think we are missing an alternative of golyrics or a related project?
Popular Comparisons
README
golyrics
This is a simple scrapper package to fetch lyrics data from the Wikia website.
Installation
go get github.com/mamal72/golyrics
Usage
package main
import "github.com/mamal72/golyrics"
func main() {
// Get track suggestions by searching
suggestions, err := golyrics.SearchTrack("Blackfield Some Day") // []Track, error
// OR
suggestions, err := golyrics.SearchTrackByArtistAndName("Blackfield", "Some Day") // []Track, error
// Let's check results
if err != nil || len(suggestions) == 0 {
// No lyrics found for this track :(
// Try some other keywords or show some error to user
}
// Assign first result to the track
track := suggestions[0] // Track
// Now fetch the lyrics and set it back on the track
err := track.FetchLyrics() // error
if err != nil {
// Error fetching lyrics for the track
}
fmt.Printf("Lyrics of %s by %s: %s", track.Name, track.Artist, track.Lyrics)
}
Tests
go test
Ideas || Issues
Just fill an issue and describe it. I'll check it ASAP!
Contribution
You can fork the repository, improve or fix some part of it and then send the pull requests back if you want to see them here. I really appreciate that. :heart:
Remember to write a few tests for your code before sending pull requests.
License
MIT
*Note that all licence references and agreements mentioned in the golyrics README section above
are relevant to that project's source code only.