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
Python 2.7 and 3.4+
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
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
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)
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. |
- Asset
- Job
- InlineResponse2XX
- InlineResponse2XX1
- InlineResponse2XXJob
- InlineResponse2XXJobSourceAsset
- InlineResponse2XXJobSourceAssetJobs
- InlineResponse2XXJobSourceAssetStemAssets
- InlineResponse2XXJobStatusInfo
- InlineResponse2XXJobStemAssets
- InlineResponse2XXJobStemMetadata
- JobBody
- JobOtherSourceAssets
- JobStemMetadata
- UploadAudiolinkBody
- UploadBody
- UploadLinkBody