Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
dotX12 committed Jul 9, 2021
2 parents d61edfe + 69f65f1 commit f6cdfca
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,32 @@ loop.run_until_complete(main())
```
</details>

<details>
<summary>
<i>🎵⌛ Track listenings count</i>
</summary>

Returns the number of times a particular song has been played<br>
<a href="https://www.shazam.com/track/559284007/rampampam">https://www.shazam.com/track/559284007/rampampam</a>

```python3
import asyncio
from shazamio import Shazam


async def main():
# Example: https://www.shazam.com/track/559284007/rampampam

shazam = Shazam()
track_id = 559284007
count = await shazam.listening_counter(track_id=track_id)
print(count)

loop = asyncio.get_event_loop()
loop.run_until_complete(main())
```
</details>

<details>
<summary>
<i>🎶💬 Similar songs</i>
Expand Down

0 comments on commit f6cdfca

Please sign in to comment.