Skip to content

cielo24/audioshake-python

Repository files navigation

audioshake

AudioShake API

This Python package is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen For more information, please visit https://audioshake.ai

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import audioshake

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import audioshake

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import audioshake
from audioshake.rest import ApiException
from pprint import pprint

# create the configuration
configuration = audioshake.Configuration()
configuration.access_token = "YOUR_BEARER_TOKEN"

# create an instance of the API class
api_instance = audioshake.JobApi(audioshake.ApiClient(configuration))
id = 'id_example' # str |

try:
    # Get a job given an Id.
    api_response = api_instance.job_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobApi->job_id_get: %s\n" % e)


# create an instance of the API class
api_instance = audioshake.JobApi(audioshake.ApiClient(configuration))
body = audioshake.JobBody() # JobBody |  (optional)

try:
    # Create a new job.
    api_response = api_instance.job_post(body=body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobApi->job_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://groovy.audioshake.ai

Class Method HTTP request Description
JobApi job_id_get GET /job/{id} Get a job given an Id.
JobApi job_post POST /job/ Create a new job.
UploadApi upload_audio_link_post POST /upload/audio-link Create a new asset from a file link.
UploadApi upload_link_post POST /upload/link Create a new asset from a file link.
UploadApi upload_post POST /upload/ Create a new asset.

Documentation For Models

Documentation For Authorization

token

Author

Releases

No releases published

Packages

No packages published