Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Numenorean/ShazamAPI
Fully reverse engeenired shazam api
https://github.com/Numenorean/ShazamAPI
shazam-api
Last synced: 3 months ago
JSON representation
Fully reverse engeenired shazam api
- Host: GitHub
- URL: https://github.com/Numenorean/ShazamAPI
- Owner: Numenorean
- License: mit
- Archived: true
- Created: 2020-12-09T17:18:14.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-15T17:07:52.000Z (6 months ago)
- Last Synced: 2024-07-19T11:17:11.363Z (4 months ago)
- Topics: shazam-api
- Language: Python
- Homepage:
- Size: 85 KB
- Stars: 189
- Watchers: 8
- Forks: 24
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shazam Api
### Install
```
pip3 install ShazamAPI
```
Also you need to install ffmpeg and ffprobe then add it to path### Usage
```python
from ShazamAPI import Shazamwith open('filename.mp3', 'rb') as fp:
mp3_file_content_to_recognize = fp.read()recognize_generator = Shazam().recognize_song(mp3_file_content_to_recognize)
# or just:
# recognize_generator = Shazam().recognize_song('filename.mp3')
for (offset, resp) in recognize_generator:
print(offset, resp)
```### Credits to:
https://github.com/marin-m/SongRec