This module implements a convenience layer over the OMDB API located at:
http://www.omdbapi.com
The author of this convenience layer module is not the author of the main API nor
affiliated with the official API/website itself.
- author
- - Ebrahim Azarisooreh
- license
- - MIT
- omdb_fetch(+ApiKey, ?KVPair, +Options) is nondet
- True if Options is a supplied list of API parameters that fetches a valid
result from the OMDB API that corresponds to a set of Key=Value pairs
represented by KVPair.
- omdb_search(+ApiKey, ?KVPair, +Options) is nondet
- True if Options is a supplied list of API paremters that fetches a valid
OMDB object which contains the number of search results and a list of OMDB
dictionaries which each represents a search result. Both the list of search
results and the number of results are part of KVPair (Key=Value).
- omdb_search_results(+ApiKey, ?KVPair, +Options, ?NumResults) is nondet
- Like omdb_search/3, except all the Key=Value pairs are iterated through
automatically without needed to do any further unwrapping. NumResults is
the number of search results found by the search query.
- omdb_fetch_dict(+ApiKey, -Dict, +Options) is det
- Like omdb_fetch/3, except the Dict unifies directly with the dictionary object
rather than backtracking over individual Key=Value pairs.
- omdb_search_dict(+ApiKey, -Dict, +Options) is det
- Like omdb_fetch_dict/3 but for search queries.
- omdb_fetch(?KVPair, +Options) is nondet
- As with omdb_fetch/3, but using the user supplied prolog_flag
omdb_api_key
instead.
- omdb_search(?KVPair, +Options) is nondet
- As with omdb_search/3, but using the user supplied prolog_flag
omdb_api_key
instead.
- omdb_search_results(?KVPair, +Options, ?NumResults) is nondet
- As with omdb_search_results/4, but using the user supplied prolog_flag
omdb_api_key
instead.
- omdb_fetch_dict(-Dict, +Options) is det
- As with omdb_fetch_dict/3, but using the user supplied prolog_flag
omdb_api_key
instead.
- omdb_search_dict(+ApiKey, -Dict, +Options) is det
- As with omdb_search_dict/3, but using the user supplied prolog_flag
omdb_api_key
instead.
Undocumented predicates
The following predicates are exported, but not or incorrectly documented.
- omdb_search_dict(Arg1, Arg2)