https://github.com/andriyor/acrcloud-py
An ACRCloud API Python client library
https://github.com/andriyor/acrcloud-py
acrcloud audio audio-recognition library music
Last synced: 2 months ago
JSON representation
An ACRCloud API Python client library
- Host: GitHub
- URL: https://github.com/andriyor/acrcloud-py
- Owner: andriyor
- Created: 2018-11-30T14:27:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-20T19:39:11.000Z (almost 7 years ago)
- Last Synced: 2026-02-28T21:48:02.949Z (3 months ago)
- Topics: acrcloud, audio, audio-recognition, library, music
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ACR-Cloud
[](https://pypi.org/project/acr-cloud/)
[](https://pypi.org/project/acr-cloud/)
[](https://pypi.org/project/acr-cloud/)
An ACR-Cloud API Python client library
## Installation
from PyPI
```
$ pip install acr-cloud
```
from git repository
```
$ pip install git+https://github.com/Live-Lyrics/acrcloud-py
```
from source
```
$ git clone https://github.com/Live-Lyrics/acrcloud-py
$ cd acrcloud-py
$ python setup.py install
```
## Version upgrade
```
➜ pip install --upgrade acr-cloud
```
### Requirements
* Python 3.5 and up
## Usage
Before you can begin identifying audio with ACRCloud's API, you need to sign up for a free trial over at
https://www.acrcloud.com and create an Audio & Video recognition project.
This will generate a `host`, `access_key`, and `access_secret` for you to use.
```python
from acr_cloud import ACRCloud
acr = ACRCloud('eu-west-1.api.acrcloud.com', 'access_key', 'access_secret')
metadata = acr.identify('path-to-file.ogg')
print(metadata)
```
## Development setup
Using [Poetry](https://poetry.eustace.io/docs/)
```
$ poetry install
```
or [Pipenv](https://docs.pipenv.org/)
```
$ pipenv install --dev -e .
```
## License
[MIT](https://choosealicense.com/licenses/mit/)