Welcome to the Review Sentiment Prediction API
Endpoints
Review sentiment classification with the latest model
GET /review_as_path
Parameters
Required
:
review_as_path
- the text of a review as an API path (str)
Response JSON
Click
the link above
to see example output.
Review sentiment classification with a given model id
GET /model_id/?review=review_as_parameter
Parameters
Required
:
model_id
- the model id (integer) either 1 or 2.
Required
:
review
- the review text (str).
Response JSON
Click
the link above
to see example output.
For more details and to try the API, please checkout the documentation at:
/docs