Skip to content

Live-Lyrics/acrcloud-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ACR-Cloud

image image image

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.

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

$ poetry install

or Pipenv

$ pipenv install --dev -e .

License

MIT

Releases

No releases published

Packages

No packages published

Languages