Currently, I am utilizing the ShazamCore Api to retrieve artist details. The challenge I am facing is that the object key is the artist id, and this id needs to be obtained from the query parameters. My project is built using Next.js and TypeScript. Here is a snippet of the code I am working with:
export interface IArtist{
artists: {
[dynamic key] : value
}