Hope you all are having fun with your favorite programming language JAVA <3 :)
Well today in this post I am providing you an API which will take Song Name and Singer's name as arguments and in response it will provide you the lyrics of that song.
Requirement is Internet Connection else it will respond empty String ("")
Below is the API download link
Download Here
Lets begin with demo
- Import this JAR file in your project. I am using NetBeans to develop my demo code. Steps are provided to import API in your code using NetBeans
- Right click on your project name present on left Pane of Netbeans (Under which you have your .java files etc.
- Select Properties, in the Project Properties Frame select Libraries on left pane
- Click on Add Jar/Folder and select the above JAR file
- You are done with importing API in your project
- Now comes the coding part below is the code, in this code I am providing the Song Name : Only You Can Love Me This Way and Singer Name : Keith Urban
Congrats in 2 line code you get your favorite song's lyrics
Thats it for this Post.
Take Care
Peace
For Any Query mail me: ravjot.singh.28@gmail.com
No comments:
Post a Comment