映画情報取得web service


$ curl -s "" | jq
  "Title": "The Matrix",
  "Year": "1999",
  "Rated": "R",
  "Released": "31 Mar 1999",
  "Runtime": "136 min",
  "Genre": "Action, Sci-Fi",
  "Director": "Lana Wachowski, Lilly Wachowski",
  "Writer": "Lilly Wachowski, Lana Wachowski",
  "Actors": "Keanu Reeves, Laurence Fishburne, Carrie-Anne Moss, Hugo Weaving",
  "Plot": "A computer hacker learns from mysterious rebels about the true nature of his reality and his role in the war against its controllers.",
  "Language": "English",
  "Country": "USA",
  "Awards": "Won 4 Oscars. Another 33 wins & 43 nominations.",
  "Poster": "",
  "Metascore": "73",
  "imdbRating": "8.7",
  "imdbVotes": "1,224,854",
  "imdbID": "tt0133093",
  "Type": "movie",
  "Response": "True"
$ for imdbid in tt4254242 tt2193021; do curl -sS "$imdbid&apikey=yourapikey&plot=full" | jq -r '. | [.Title, .Year, .Rated, .Released, .Runtime, .Genre, .Director, .Writer, .Actors, .Plot, .Langage, .Country, .Poster, .Ratings[].Value, .Metascoe, .imdbRating, .imdbVotes, .imdbID, .Type, .totalSeasons, .Response] | @csv'; done
"The Magicians","2015–","TV-14","16 Dec 2015","60 min","Drama, Fantasy, Mystery","N/A","N/A","Stella Maeve, Hale Appleman, Arjun Gupta, Summer Bishil","After being recruited to a secretive academy, a group of students discover that the magic they read about as children is very real and more dangerous than they ever imagined. But will getting hooked on the thrill of magic distract them from honing their powers when they need them most?",,"USA","","7.6/10",,"7.6","38,734","tt4254242","series","5","True"
"Arrow","2012–","TV-14","10 Oct 2012","42 min","Action, Adventure, Crime, Drama, Mystery, Sci-Fi","N/A","Greg Berlanti, Marc Guggenheim, Andrew Kreisberg","Stephen Amell, David Ramsey, Emily Bett Rickards, Katie Cassidy","Oliver Queen and his father are lost at sea when their luxury yacht sinks, apparently in a storm. His father dies, but Oliver survives for five years on an uncharted island and eventually returns home. But he wasn't alone on the island where he learned not only how to fight and survive but also of his father's corruption and unscrupulous business dealings. He returns to civilization a changed man, determined to put things right. He disguises himself with the hood of one of his mysterious island mentors, arms himself with a bow and sets about hunting down the men and women who have corrupted his city.",,"USA","","7.6/10",,"7.6","392,097","tt2193021","series","8","True"