Questions tagged [genius-api]

The Genius API is a web service that allows to programmatically read/write song lyrics (and their annotations) via HTTP.

The Genius website and app provide a dataset of song lyrics that aim to explain the meaning of songs. The Genius API is a web service provided by the authors of Genius that gives programmatic access to part of this dataset by making HTTP requests.

An access token is required to use the API. The API's documentation documentation gives more details.

22 questions
0
votes
1 answer

Express middleware "TypeError: Converting circular structure to JSON" when sending a non-circular JSON

I am using the following function as middleware and want to send the length of the array (req.session.songArray.length) as a JSON however any JSON I attempt to send through res gives the error below. I understand that circular objects cannot be JSON…
ben
  • 28
  • 5
0
votes
1 answer

Can't seem to find a way to make my Telegram Bot wait for user input

I'm trying to make a telegram bot that gets lyrics from the genius API. When the bot asks for the artist, it sends the question for the song title right after, but I'm trying to make the bot work like the input() command in python. I know I could…
0
votes
0 answers

Call python with argument from javascript

I want to create a simple website to show lyrics of a songs using the genius API, the problem i encountered is that i can't find lyrics with the genius API only with javascript. So i created a simple python function to find the lyrics, the arguments…
AnonymZ
  • 78
  • 1
  • 11
0
votes
2 answers

`Not Found (HTTP 404)` error when using `genius` package to get lyrics

I create a dataset that contains all the original songs of Beatles. And I want to get the lyrics of all the songs using genius package. I use the following code to get lyrics but throw an error. map(beatles_songs$song, ~ genius_lyrics("The Beatles",…
juby
  • 132
  • 1
  • 5
0
votes
0 answers

URLConnection.setRequestProperty() not working?

I'm trying to integrate the Genius API into my Java program but I'm not entirely sure what I'm doing with making the actual HTTP request. Here's the code I'm trying to use: URLConnection connection = new…
Adam Bowker
  • 193
  • 9
0
votes
2 answers

opendaylight: Genius install flow in switch

I am using opendaylight / Carbon and am trying to work with the Genius wrapper. I want to install a flow in a switch based on a MAC address match for an incoming packet. The instruction I want to install is a "GOTO" instruction. I proceed as…
-2
votes
1 answer

Genius Api not allowing variables for Discord Bot

https://www.npmjs.com/package/genius-lyrics is the genius api im using, I am trying to make a >lyrics command that uses the current song playing in DisTube and tries to get the lyrics of the current song by pulling the current song name from DisTube…
RakkenTi
  • 17
  • 1
  • 5
1
2