rest_api_get()

audfactory.rest_api_get(url)[source]

Execute a GET REST API request.

For details on the REST API, see https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API

Parameters

url (str) – REST API request URl

Return type

Response

Returns

server response

Examples

>>> r = rest_api_get(
...     'https://audeering.jfrog.io/artifactory/'
...     'data-public/emodb/meta/files/1.1.0/'
...     'files-1.1.0.zip!/db.files.csv'
... )
>>> print(r.text[:35])
file,duration,speaker,transcription