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

Parameters: rate_titles
NameTypeDescription
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
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"}'
Python
result = client.call("trakt", "rate_titles", {"items":"items"})
Node.js
const result = await cotlet.call('trakt', 'rate_titles', {"items":"items"});
CLI
cotlet call trakt rate_titles --data '{"items":"items"}'

Example response

JSON

{
  "rated": {
    "movies": 1,
    "shows": 1
  },
  "not_found": []
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.