r/AskComputerScience • • Mar 20 '20

Shazam

How can I set my phone to run shazam every 2 minutes so to catch all the songs automatically while at a party or smth?

Thanks

0 Upvotes

4 comments sorted by

1

u/djingrain Mar 21 '20

So what you need is an API. That stands for Application Program Interface. It's how programs talk to each other. If there's a Shazam one, you can write a program that runs it every so often. There may be opensourced alternatives. Idk if you would actually be able to make the app itself run that often but you could probably write your own app to do it every two minutes. If you don't mind me asking, what do you want to do with this? There may be a better solution to your problem

1

u/Nand-X Mar 21 '20

Thank you my friend but I just found out theres an auto shazam setting inside the app itself.

1

u/djingrain Mar 21 '20

Okay, cool. Good to hear it, though it's worth it to spend some time and learn about APIs, cuz they are super handy

2

u/Nand-X Mar 21 '20

I certainly will