Skip to content

Latest commit

 

History

History
70 lines (39 loc) · 2.18 KB

KeywordsApi.md

File metadata and controls

70 lines (39 loc) · 2.18 KB

KeywordsApi

All URIs are relative to https://api.themoviedb.org/3

Method HTTP request Description
get_keyword_details get /keyword/{keyword_id} Get Details
get_movies_by_keyword_paginated get /keyword/{keyword_id}/movies Get Movies

get_keyword_details

crate::models::Keyword get_keyword_details(keyword_id) Get Details

Parameters

Name Type Description Required Notes
keyword_id i32 Required

Return type

crate::models::Keyword

Authorization

api_key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_movies_by_keyword_paginated

crate::models::MoviePaginated get_movies_by_keyword_paginated(keyword_id, language, include_adult) Get Movies

Get the movies that belong to a keyword. We highly recommend using movie discover instead of this method as it is much more flexible.

Parameters

Name Type Description Required Notes
keyword_id i32 Required
language String Pass a ISO 639-1 value to display translated data for the fields that support it. [default to <>]
include_adult bool Choose whether to inlcude adult (pornography) content in the results. [default to false]

Return type

crate::models::MoviePaginated

Authorization

api_key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]