### Search by Title Example Source: https://www.omdbapi.com/ Example of how to construct a request to search for a movie by its title. The 't' parameter is used for the movie title. ```http http://www.omdbapi.com/?t=tt1285016&apikey=YOUR_API_KEY ``` -------------------------------- ### Search by Season and Episode Source: https://www.omdbapi.com/ Example demonstrating how to search for a specific season and episode of a series using the 'Season' and 'Episode' parameters along with the title ('t'). ```http http://www.omdbapi.com/?t=Game of Thrones&Season=1 &Episode=1 ``` -------------------------------- ### Search by Season Source: https://www.omdbapi.com/ Example showing how to retrieve all episodes for a specific season of a series using the 'Season' parameter along with the title ('t'). ```http http://www.omdbapi.com/?t=Game of Thrones&Season=1 ``` -------------------------------- ### Search by ID Example Source: https://www.omdbapi.com/ Example of how to construct a request to search for a movie using its IMDb ID. The 'i' parameter is used for the IMDb ID. ```http http://www.omdbapi.com/?i=tt1285016&apikey=YOUR_API_KEY ``` -------------------------------- ### Search with Season and ID Source: https://www.omdbapi.com/ This example shows how to use the 'i' parameter (IMDb ID) in conjunction with the 'Season' parameter to retrieve specific season information for a series. ```http http://www.omdbapi.com/?i=tt0944947 &Season=1 ``` -------------------------------- ### Search with Pagination Source: https://www.omdbapi.com/ Demonstrates how to use the 'page' parameter to retrieve paginated search results. This is useful for handling large result sets. ```http http://www.omdbapi.com/?s=Batman&page=2 ``` -------------------------------- ### Poster API Request URL Source: https://www.omdbapi.com/ This URL is used for Poster API requests, which are available to patrons. Replace '[yourkey]' with your API key. ```http http://img.omdbapi.com/?apikey=[yourkey]& ``` -------------------------------- ### Search by ID or Title Source: https://www.omdbapi.com/ Retrieve movie information by providing either an IMDb ID or a movie title. At least one of 'i' or 't' parameters is required. ```APIDOC ## GET /?apikey=[yourkey]& ### Description Retrieve movie information by providing either an IMDb ID or a movie title. At least one of 'i' or 't' parameters is required. ### Method GET ### Endpoint http://www.omdbapi.com/?apikey=[yourkey]& ### Parameters #### Query Parameters - **i** (Optional*) - A valid IMDb ID (e.g. tt1285016) - **t** (Optional*) - Movie title to search for. - **type** (No) - movie, series, episode - **y** (No) - Year of release. - **plot** (No) - short, full - **r** (No) - json, xml - **callback** (No) - JSONP callback name. - **v** (No) - API version (reserved for future use). *Please note while both "i" and "t" are optional at least one argument is required. ``` -------------------------------- ### Base API Request URL Source: https://www.omdbapi.com/ Use this URL to send data requests to the OMDb API. Replace '[yourkey]' with your actual API key. ```http http://www.omdbapi.com/?apikey=[yourkey]& ``` -------------------------------- ### Search by Title (for Search Results) Source: https://www.omdbapi.com/ Perform a search for movies by title. The 's' parameter is required for this type of search. ```APIDOC ## GET /?apikey=[yourkey]& ### Description Perform a search for movies by title. The 's' parameter is required for this type of search. ### Method GET ### Endpoint http://www.omdbapi.com/?apikey=[yourkey]& ### Parameters #### Query Parameters - **s** (Yes) - Movie title to search for. - **type** (No) - movie, series, episode - **y** (No) - Year of release. - **r** (No) - json, xml - **page** (No) - 1-100 - **callback** (No) - JSONP callback name. - **v** (No) - API version (reserved for future use). ``` -------------------------------- ### Poster API Source: https://www.omdbapi.com/ Retrieve movie posters. This API is only available to patrons. ```APIDOC ## GET /?apikey=[yourkey]& ### Description Retrieve movie posters. This API is only available to patrons. ### Method GET ### Endpoint http://img.omdbapi.com/?apikey=[yourkey]& ### Parameters (Poster API specific parameters are not detailed in the source text, but it is implied that an API key is required.) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.