Metadata-Version: 2.1
Name: acr-cloud
Version: 0.1.1
Summary: acrcloud music recognition wrapper
Home-page: https://github.com/andriyor/acrcloud-py
License: MIT
Author: Andriy Orehov
Author-email: andriyorehov@gmail.com
Requires-Python: >=3.6,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: requests (>=2.21,<3.0)
Description-Content-Type: text/markdown

# ACRCloud-py

An ACRCloud API Python client library

## Installation
```
$ pip nstall git+https://github.com/andriyor/acrcloud-py.git#egg=acrcloud-py
```

### Requirements
* Python 3.6 and up

### Installation from source
```
$ git clone https://github.com/andriyor/acrcloud-py.git
$ cd acrcloud-py
$ python setup.py install
```

## 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.

```
from acrcloud import ACRCloud
import os

acr = ACRCloud('eu-west-1.api.acrcloud.com', 'access_key', 'access_secret')
metadata = acr.identify('path-to-file.ogg')
print(metadata)
```

## Development
Install [Pipenv](https://docs.pipenv.org/)   
```
$ pipenv install --dev -e .
```
