new BaseClient(apiKey, baseUrl)
Initialize a specific client.
Parameters:
| Name | Type | Description |
|---|---|---|
apiKey |
string | client specific api key |
baseUrl |
string | client specific base url |
Methods
-
get(options)
-
Get a movie by looking up using different params (e.g. title, imdb id, year etc.)
Parameters:
Name Type Description optionsobject -
search(options)
-
Search for a movie.
Parameters:
Name Type Description optionsobject