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
11
votes
0 answers

What is the range attribute of a referent in the genius api?

see: Genius API Referent. All I can find is when hovering over the property in an example of the API docs: "Information for anchoring the referent in the source text". Does anyone know or have a link to docs about it? What structures might it have?…
Michael
  • 2,973
  • 1
  • 27
  • 67
3
votes
1 answer

Genius API Search result successful but no hits

When making a call to the Genius API (the music lyric service) search capability to search for a specific song by title, my GET request is successfully processed and returns a HTTP status code of 200, but the JSON response returns no hits for the…
Austin Guo
  • 167
  • 1
  • 12
2
votes
1 answer

How to get the timestamps of lyrics in songs?

We have built an application in Python for getting the lyrics of a song that the user searches for. We are using the Genius API for this. However, we also want to know the timestamps of each lyric in the song, so that we know when each lyric plays…
tennis25
  • 99
  • 1
  • 2
  • 12
2
votes
1 answer

cheerio sometimes returns empty string

I'm scraping Genius.com for lyrics; I've googled and can't seem to find a reason for why my code isn't working. I am scraping the text from the div on a Genius.org page (i.e., https://genius.com/Britney-spears-baby-one-more-time-lyrics). Viewing…
kcrwf72
  • 43
  • 4
1
vote
2 answers

How to pick a random song from genius and send a small section of those lyrics to discord

@client.command() async def lyrics(ctx): genius = lyricsgenius.Genius(api_key) message_ID = ctx.message.author.id await ctx.send("**name the song author:**") @client.listen("on_message") async def on_message(message): if…
Isohel
  • 23
  • 9
1
vote
1 answer

Getting lyrics from genius api gives error

So I am working on a discord bot that will search for the lyrics using the lyricsgenius api. However when I try to use genius.search_lyrics(arg) where arg is the lyrics the user is trying to find. It gives me an error: requests.exceptions.HTTPError:…
vixitu
  • 13
  • 4
1
vote
1 answer

Get lyrics from song with Geniusr

I have the package geniusr which has different functions to retrieve lyrics from songs. If I type following code: get_lyrics_search("Bloc Party", "Signs") which is song title and artist. But I only get A tibble:0 x 5 as an output. Does anyone know…
anders
  • 29
  • 3
1
vote
2 answers

lyricsgenius lyrics sometimes end with "EmbedShare URLCopyEmbedCopy"

I am making a Discord lyrics bot and to receive the lyrics. I am using genius API (lyricsgenius API wrapper). But when I receive the lyrics, it ends with this: "away" is the last word in the song but it is accompanied with EmbedShare…
1
vote
0 answers

Separate rows of a character column in R

I am using the genius package in R. The package pulls lyrics by line as characters, and I want to separate the lines into the individual words. I have this code: Albums <- bind_rows(TaylorSwift, Fearless, SpeakNow, Red, nineteeneightynine,…
1
vote
1 answer

When I use the Genius API, it doesn't give me the full lyrics

When i run this code (discord.py), i do not get the full lyrics: @commands.command() async def lyrics(self, ctx, arg1, arg2): song = genius.search_song(arg2, arg1) print(song) embedgenius = discord.Embed(title=arg2.capitalize(),…
Skey
  • 45
  • 4
1
vote
2 answers

Scrape Genius Lyrics

So I have to do a project for school, I need to create a simple website who uses an API. I want to use the genius API to collect the lyrics but you can't because of copyright. I can only use the API to find certain information about a song like…
AnonymZ
  • 78
  • 1
  • 11
1
vote
1 answer

Python: Get songs Lyrics from genius - Error

I am working on getting the songs lyrics from genius using API. I am having an issue with extract titles and lyrics from JSON file once it is saved. please see my code below. import lyricsgenius as…
Viku
  • 29
  • 2
  • 10
0
votes
0 answers

geniusr package problem with get_lyrics function

i know thats been asked before (Get lyrics from song with Geniusr) but it didnt help me. every other function works except the get_lyrics_* functions.... always with the same error: Error in section_artist[is.na(section_artist)] <- artist : …
0
votes
0 answers

Status failed error get after enter card input in network international ngenius payment in react native?

First we create sandbox account from https://www.network.ae/en/contents/listing/online-solutions#book-1 then we create access Token see code var myHeaders = new Headers(); myHeaders.append("Content-Type",…
0
votes
1 answer

Python Genius Lyric Collector - TypeError

I am extremely new to coding so I am following a tutorial to find and collect lyrics from Genius (https://www.storybench.org/download-song-lyrics-genius-using-python/). This tutorial uses…
1
2