Skip to content

mbaraa/lrclibgo

Repository files navigation

lrclibgo

lrclibgo is a Go client to access the LyricFind API.

Go Report Card GoDoc

Contributing

IDK, it would be really nice of you to contribute, check the poorly written CONTRIBUTING.md for more info.

Roadmap

  • Search
  • Get song
  • Lyrics
  • Lyrics timing
  • Publish lyrics

Usage

package main

import (
	"encoding/json"
	"fmt"

	"github.com/mbaraa/lrclibgo"
)

func main() {
	client := lrclibgo.NewClient()
	results, err := client.Search.Get(lrclibgo.SearchParams{
		Query: "lana del rey jealous girl",
		Limit: 5,
	})
	if err != nil {
		panic(err)
	}

	for _, result := range results {
		jsonn, _ := json.MarshalIndent(result, "", "\t")
		fmt.Println("search result", string(jsonn))
	}
}

Support :)

Give a ⭐️ if this project helped you!


Made with 🧉 by Baraa Al-Masri

About

lrclibgo is a Go client to access the LyricFind API

Topics

Resources

License

Stars

Watchers

Forks

Languages