Paxsenix0 / MusixMatch-Lyrics

Get Lyrics songs by using MusixMatch API. written in PHP!

Home Page:https://paxsenixofc.my.id/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MusixMatch-Lyrics

Easily get music Synced Lyrics by using MusixMatch API written in PHP!

Examples

Using alternative method (title, artist name, duration)

https://paxsenixofc.my.id/server/getLyricsMusix.php?t=Hope&a=XXXTENTACION&d=1:50&type=alternative

Using default method

https://paxsenixofc.my.id/server/getLyricsMusix.php?q=Hope%20XXXTentacion&type=default

response:

[00:02.80]Yeah
[00:05.56]♪
[00:11.06]Rest in peace to all the kids that lost their lives in the Parkland shooting
[00:13.63]This song is dedicated to you

How to use

Lyrics Synced Alternative

    include_once("./Musixmatch.php");

    $musix = new MusixLyricsApi\Musix(); 
    echo $musix->getLyricsAlternative("Hope", "XXXTENTACION");

Lyrics Synced Default

    include_once("./Musixmatch.php");

    $musix = new MusixLyricsApi\Musix();
    $track_id = $musix->searchTrack("Hope XXXTENTACION");      
    echo $musix->getLyrics($track_id);

Information

i'm sorry if the code is too weird, because i'm only using Phone (i don't have PC/Laptop) and i'm still beginner:)

Idea

i'm doing searching about lyrics API because of this repo :) https://github.com/akashrchandran/spotify-lyrics-api

About

Get Lyrics songs by using MusixMatch API. written in PHP!

https://paxsenixofc.my.id/

License:GNU General Public License v3.0


Languages

Language:PHP 100.0%