erikburgess / movie-query

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

movie-query

Requirements

Program must accept a command line parameter of a name of a movie

  • Query the OBDb API for a result over the network
  • Output the Rotten Tomato rating in some useful way to the user at the command line
  • Be “dockerized” – i.e. the work to make it into a docker container must be present

usage

cli

export OMDB_API_KEY=myKey
./movie-query -name "Office Space"

docker

export OMDB_API_KEY=myKey
docker run -eOMDB_API_KEY=$OMDB_API_KEY docker.io/luvmysubi/movie-query -- -name "Office Space"

About


Languages

Language:Go 83.3%Language:Dockerfile 11.1%Language:Makefile 5.6%