CrowdEmotion API
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.1.0
- Package version: 1.0.0
- Build date: 2016-08-11T15:53:19.605+01:00
- Build package: class io.swagger.codegen.languages.PythonClientCodegen
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 crowdemotion_api_client_python
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 crowdemotion_api_client_python
Please follow the installation procedure and then run the following:
import time
import crowdemotion_api_client_python
from crowdemotion_api_client_python.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
crowdemotion_api_client_python.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# crowdemotion_api_client_python.configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = crowdemotion_api_client_python.FaceVideoApi
facevideo_id = 56 # int | ID of FaceVideo to be deleted.
try:
# Delete a FaceVideo
api_response = api_instance.facevideo_facevideo_id_delete(facevideo_id)
pprint(api_response)
except ApiException as e:
print "Exception when calling FaceVideoApi->facevideo_facevideo_id_delete: %s\n" % e
All URIs are relative to https://api.crowdemotion.co.uk/v1
Class | Method | HTTP request | Description |
---|---|---|---|
FaceVideoApi | facevideo_facevideo_id_delete | DELETE /facevideo/{facevideo_id} | Delete a FaceVideo |
FaceVideoApi | facevideo_get | GET /facevideo | Find a FaceVideo |
FaceVideoApi | facevideo_post | POST /facevideo | Analyse FaceVideo |
FaceVideoApi | facevideo_put | PUT /facevideo | Analyse FaceVideo |
MediaApi | media_get | GET /media | Find all registered Media |
MediaApi | media_media_id_delete | DELETE /media/{media_id} | Delete Media |
MediaApi | media_media_id_get | GET /media/{media_id} | Find a Media |
MediaApi | media_media_id_put | PUT /media/{media_id} | Update a Media |
MediaApi | media_post | POST /media | Create new Media |
MetricApi | metric_get | GET /metric | List all registered metrics |
MetricApi | metric_metric_id_delete | DELETE /metric/{metric_id} | Delete a Metric |
MetricApi | metric_metric_id_get | GET /metric/{metric_id} | Find a Metric |
MetricApi | metric_post | POST /metric | Create Metric |
ResearchApi | research_get | GET /research | Find all Research |
ResearchApi | research_post | POST /research | Create a Research Project |
ResearchApi | research_research_id_delete | DELETE /research/{research_id} | Delete Research Project |
ResearchApi | research_research_id_get | GET /research/{research_id} | Find a Research Project |
ResearchApi | research_research_id_put | PUT /research/{research_id} | Edit Research Project details |
RespondentApi | respondent_get | GET /respondent | Find all Respondents of a Research |
RespondentApi | respondent_post | POST /respondent | Create a Respondent |
RespondentApi | respondent_respondent_id_delete | DELETE /respondent/{respondent_id} | Delete a Respondent |
RespondentApi | respondent_respondent_id_get | GET /respondent/{respondent_id} | Find a Respondent |
RespondentApi | respondent_respondent_id_metadata_get | GET /respondent/{respondent_id}/metadata | Find Respondent Metadata |
RespondentApi | respondent_respondent_id_metadata_post | POST /respondent/{respondent_id}/metadata | Add Respondent Metadata |
RespondentApi | respondent_respondent_id_put | PUT /respondent/{respondent_id} | Update a Respondent |
ResponseApi | response_get | GET /response | Find all Responses |
ResponseApi | response_post | POST /response | Create a Response |
ResponseApi | response_response_id_delete | DELETE /response/{response_id} | Delete a Response |
ResponseApi | response_response_id_get | GET /response/{response_id} | Find a Response |
ResponseApi | response_response_id_metadata_get | GET /response/{response_id}/metadata | Show Response Metadata |
ResponseApi | response_response_id_metadata_post | POST /response/{response_id}/metadata | Add Response Metadata |
ResponseApi | response_response_id_put | PUT /response/{response_id} | Update a Response |
TimeseriesApi | timeseries_delete | DELETE /timeseries | Delete a Timeseries |
TimeseriesApi | timeseries_get | GET /timeseries | Get all recorded timeseries for a Response |
UserApi | user_id_get | GET /user/{id} | Get User information |
UserApi | user_id_put | PUT /user/{id} | Edit User information |
UserApi | user_login_post | POST /user/login | User Login |
UserApi | user_user_id_metadata_get | GET /user/{user_id}/metadata | Find User metadata |
UserApi | user_user_id_metadata_post | POST /user/{user_id}/metadata | Add user metadata |
- ContentDetails
- Data
- FaceVideo
- FaceVideoUpload
- Login
- LoginResponse
- Media
- MediaCreation
- Metric
- MetricCreation
- Research
- ResearchCreation
- Respondent
- RespondentMetadata
- RespondentMetadataResponse
- Response
- ResponseCreation
- ResponseMetadata
- ResponseMetadataResponse
- Statistics
- Stats
- Status
- Tags
- Timeseries
- User
- UserMetadata
- UserMetadataResponse
- UserUpdateBody
- Videodetails
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header