Team OS : Your Only Destination To Custom OS !!

Welcome to TeamOS Community, Register or Login to the Community to Download Torrents, Get Access to Shoutbox, Post Replies, Use Search Engine and many more features. Register Today!

Other Lyrics API for website/apps developers - Vagalume API

juanamm

Uploader
Uploader
Power User
✅ Verified Member
Member
Downloaded
5.7 GB
Uploaded
448.6 GB
Ratio
78.11
Seedbonus
134,973
Upload Count
217 (223)
Member for 5 years
Lyrics API for website/apps developers - Vagalume API

vagalume_portada.png


Are you a developer and do you need an API to get lyrics of the songs you play?

I have found a free Brazilian API that has a decent database to be free.

The database is updated daily including more lyrics contributed by users.


And something no less important, it works with HTTPS links, so your site will never lose the secure site lock and you will not have problems with mixed content in browsers.


vagalume.png



About Vagalume
Launched in 2002, Vagalume is the largest music portal in Brazil. In addition to being well known for the lyrics of songs organized and cataloged on the website, Vagalume also has a large collection of discographies, translations, figures, photos, musical styles, news, biography information about the artists, popularity meter, proximity calculation music (of songs and artists) and time for synchronizing subtitles of songs.

Every day, thousands of information are added and modified that are sent by the artists themselves, press officers, fans and record companies. Vagalume's goal is to organize and promote artists.

The content organized by Vagalume is collaborative, so if an artist does not want to be published by Vagalume, they can contact you at any time to have their content removed.

About the API
At Vagalume we have performance as one of the most important items in the development of the system. Due to the large number of accesses on the site, we prioritize the fast loading and scalability of the application. Using the functions found in the API should not slow down your site or cause stability problems in our system. In this documentation we must address the best practices on how to make requests asynchronously.


API key
To use Vagalume API, your application must have authorization credentials. Register at Vagalume and create your API key. This credential will be required from 11/23/2015.

The use of the API is completely free, but it is very important that the logo and link to the corresponding page on Vagalume are present. Read the terms of use, and check that your website or application is in agreement.


Javascript Example
In order to be able to access the API via Javascript from your domain, we allow access from another source with Cross-Origin Resource Sharing (already supported in Chrome and Firefox). For other browsers, you can also use the JSONP request by passing a callback parameter.

JavaScript:
// Request example
var artist = "U2";
var song   = "One";
jQuery.getJSON(
    "https://api.vagalume.com.br/search.php"
        + "?art=" + artist
        + "&mus=" + song,
        + "&apikey={key}"
    function (data) {
        // Lyric's song
        alert(data.mus[0].text);
    }
);


Query parameters
The request can be carried out via POST or GET to obtain information about the artist and / or songs. As in the following examples:

HTML:
https://api.vagalume.com.br/search.php?art=U2&mus=one&apikey={key}
https://api.vagalume.com.br/search.php?art=Madonna&mus=One%20More%20Chance&extra=relart&apikey={key}
https://api.vagalume.com.br/search.php?art=Lady%20Gaga&mus=Alejandro&extra=relmus&apikey={key}
https://api.vagalume.com.br/search.php?musid=3ade68b6g4946fda3&apikey={key}
https://api.vagalume.com.br/search.php?musid=3ade68b6g4946fda3&extra=relmus,relart&apikey={key}


art artist's name
mus song title (optional)
musid ID of the song. When this parameter is passed, art and mus are unnecessary.
udig If the return is the captcha due to the rate limit of accesses, the next request must contain the parameter udig and serial. See the complete example in captcha treatment.
serial Used in conjunction with udig to make the post-captcha request.
callback Function that will be called in your code for JSONP request. As we allow requests from any source, this parameter is not necessary.
nolyrics Will not bring the text of the lyrics, consequently will not pass the captcha check.
extra Indicates what extra information may come in the response. It is a comma-separated list of options that can be freely combined. Possible options are: alb, relart, relmus and rank


JSON query response

HTML:
URL: https://api.vagalume.com.br/search.php?art=madonna&mus=holiday&apikey={key}

JavaScript:
// Request return example
{  "type":"exact",
   "art":{
      "id": "3ade68b3g1f86eda3",
      "name":"Madonna",
      "url" :"https://www.vagalume.com.br/madonna/"
   },
   "mus":[{
      "id":"3ade68b6g8e27fda3",
      "name":"Holiday",
      "lang":2,
      "url":"https://www.vagalume.com.br/madonna/holiday.html",
      "text":"Holiday Celebrate\nHoliday Celebrate(..cut..)"
      "translate":[{
         "id":"3ade68b6g417afda3",
         "lang":1,
         "url":"https://www.vagalume.com.br/madonna/holiday-traducao.html",
         "text":"[Feriado]\nFeriado, comemore\nFeriado comemore(..cut..)"
      }]
   }]
};


The documentation is in Portuguese but can be easily translated using Google Translate.

GitHub: https://github.com/vagalume/api-exemplos
Vagalume API Doc: https://api.vagalume.com.br/docs/
 

ratao64

Member
Downloaded
20.5 GB
Uploaded
178.2 GB
Ratio
8.67
Seedbonus
112,021
Upload Count
0 (0)
Member for 4 years
This is amazing.:) Thanks for this:clap:.
 

The Professor

Uploader
✅ Verified Member
Member
Downloaded
31 GB
Uploaded
33.9 TB
Ratio
1121.09
Seedbonus
675,409
Upload Count
44 (46)
Member for 10 years
If I am an developer I could use it but unfortunately I am not :p
Thank you for sharing bro @juanamm :h:
 
Top