Shazam

フリーミアム
Verified
よって Api Dojo | 更新済み hace 7 días | Music
人気

9.8 / 10

レイテンシー

1,896ms

サービスレベル

99%

Health Check

N/A

すべてのディスカッションに戻る

Response is different from what the app returns?

Rapid account: Laurencewood 01
laurencewood01
hace 3 años

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 hace 3 años

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 hace 3 años

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 hace 3 años

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.

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿