Rate titles
Rate movies, shows, seasons or episodes from 1 to 10.
POST https://cotlet.dev/api/v1/trakt/titles/rate
write
Sets your rating on each title. A new score replaces the old one. Each item takes a rating field next to the title. It reaches no one and sending another rating changes it, so it needs no confirmation.
Parameters
| Name | Type | Description |
|---|---|---|
| items array required | array | Titles to rate. Each item is an object like the items of add_to_watchlist plus rating (integer, 1 to 10). |
Request
curl -X POST https://cotlet.dev/api/v1/trakt/titles/rate \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"items":"items"}' result = client.call("trakt", "rate_titles", {"items":"items"}) const result = await cotlet.call('trakt', 'rate_titles', {"items":"items"}); cotlet call trakt rate_titles --data '{"items":"items"}' Example response
{
"rated": {
"movies": 1,
"shows": 1
},
"not_found": []
}