Relative Content

Tag Archive for javaapi

API or Java Library that returns the language spoken in a specific city of the world

Is there any JAVA library or API that returns the language spoken in a city? For example in Switzerland there are some spoken languages such as German, French and Italian. However I need to know exactly in a specific city which language people mostly speak.
I am writing a code in Java that it is required to know exactly the main language of a city since our clients might be from all over the world it is important to have the exact correct answer. I have the countries’ most spoken language but I need the cities’ language.

Error when using Genius API to search songID

When I run the code in Android Studio, this method always return -1 and does not print “Search Response Data” although it can be run correctly in Intellij. I’m using Genius API from “https://rapidapi.com/Glavier/api/genius-song-lyrics1” to search for song ID and then use the song ID to search for the lyrics. Please help me to fix this!