Skip to main content

acrcloud music recognition wrapper

Project description

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

$ pipenv install --dev -e .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acr-cloud-0.1.1.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

acr_cloud-0.1.1-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page