CLI Usage - RenegadeFox/movie-metadata GitHub Wiki
How to use movie-metadata
with the Command-Line Interface (CLI).
Note: Assuming that
movie-metadata
is globally installed
Example
$ getmetadata --key YOUR_API_KEY /Users/me/moviesList.json
This will create a moviesList-metadata.json
and moviesList-notfound.json
file in the /Users/me/
directory. The moviesList-metadata.json
file will contain an Array of Objects containing each movies respective metadata fetched from omdb's API server.
Note: The
moviesList-notfound.json
file is only created if some movies in the list were not found on the omdb API server.