Shazam

FREEMIUM
Verified
Door Api Dojo | Bijgewerkt 5 days ago | Music
Populariteit

9.8 / 10

Latency

1,828ms

Serviceniveau

99%

Health Check

N/A

Terug naar alle discussies

Response is different from what the app returns?

Rapid account: Laurencewood 01
laurencewood01
3 years ago

I was testing this on a few different songs to make sure it’s working like the app does, although it appears it’s not. For example with the song ‘1/2 Ticket - T.I’ Shazam consistently gives me the correct response trying many times, this api is jumping between multiple results of different artists on the same beat, rarely getting the correct one. Also why does this endpoint require a 5 second sample, the real api doesn’t use 5 seconds? It’s able to get songs in < 5 seconds whereas this API won’t give me a result unless I give 5 seconds exactly.

Rapid account: Apidojo
apidojo Commented 3 years ago

Hello,

You should try the portion at middle of the song for example, and the song will be easier to recognize.

Regards.

Rapid account: Laurencewood 01
laurencewood01 Commented 3 years ago

I was trying the same song, although I noticed I was using technically 2 different versions of the same song… switched how I was testing the app and it seemed to behave more like the api finally, although it didn’t seem as inconsistent still. I tried changing sample length from 5s to 5040ms on the api and that seemed to improve consistency but I’m not totally sure.

I have to do some more testing to figure out if the issue I’m having is from samples of different parts of the song or if changing sample length is really affecting results…

Rapid account: Apidojo
apidojo Commented 3 years ago

Hello,

Why don’t you try the same samples with the official Shazam application and experience yourself? It must need the same duration to detect the song.

Regards.

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen