tizz98/netflix_roulette

View on GitHub
util/test_data.json

Summary

Maintainability
Test Coverage
{
  "movies": [
    {
      "unit": 2688,
      "show_id": 70217913,
      "show_title": "The Avengers",
      "release_year": "2012",
      "rating": "4.5",
      "category": "Action & Adventure",
      "show_cast": "Robert Downey Jr., Chris Evans, Mark Ruffalo, Chris Hemsworth, Scarlett Johansson, Jeremy Renner, Tom Hiddleston, Clark Gregg, Cobie Smulders, Stellan Skarsg\u00e5rd",
      "director": "Joss Whedon",
      "summary": "An all-star lineup of superheroes -- including Iron Man, the Incredible Hulk and Captain America -- team up to save the world from certain doom. Working under the authority of S.H.I.E.L.D., can our heroes keep the planet at peace?",
      "poster": "http:\/\/netflixroulette.net\/api\/posters\/70217913.jpg",
      "mediatype": 0,
      "runtime": "143 min"
    },
    {
      "unit": 7474,
      "show_id": 70153391,
      "show_title": "The Boondocks",
      "release_year": "2005",
      "rating": "4.0",
      "category": "TV Shows",
      "show_cast": "Regina King, John Witherspoon, Cedric Yarbrough, Gary Anthony Williams, Jill Talley, Gabby Soleil",
      "director": "",
      "summary":"Based on the comic strip by Aaron McGruder, this satirical animated series follows the socially conscious misadventures of Huey Freeman, a preternaturally smart 10-year-old who relocates from inner-city Chicago to the suburbs.","poster":"http:\/\/netflixroulette.net\/api\/posters\/70153391.jpg",
      "mediatype": 1,
      "runtime":"20 min"
    }
  ],
  "directors": {
    "Quentin Tarantino": [
      {
        "category": "Action & Adventure",
        "rating": "3.8",
        "show_id": 60032563,
        "release_year": "2004",
        "poster": "http://netflixroulette.net/api/posters/60032563.jpg",
        "show_cast": "Uma Thurman, David Carradine, Michael Madsen, Daryl Hannah, Gordon Liu, Michael Parks, Perla Haney-Jardine, Helen Kim, Claire Smithies, Clark Middleton",
        "mediatype": 0,
        "summary": "The Bride has three left on her rampage list: Budd, Elle Driver and Bill himself. But when she arrives at Bill's house, she's in for a surprise.",
        "director": "Quentin Tarantino",
        "show_title": "Kill Bill: Vol. 2",
        "runtime": "137 min",
        "unit": 84
      },
      {
        "category": "Action & Adventure",
        "rating": "3.8",
        "show_id": 60031236,
        "release_year": "2003",
        "poster": "http://netflixroulette.net/api/posters/60031236.jpg",
        "show_cast": "Uma Thurman, Lucy Liu, Vivica A. Fox, Daryl Hannah, David Carradine, Michael Madsen, Julie Dreyfus, Chiaki Kuriyama, Sonny Chiba, Gordon Liu",
        "mediatype": 0,
        "summary": "An assassin is shot by her ruthless employer, Bill, and other members of their assassination circle. But she lives -- and plots her vengeance.",
        "director": "Quentin Tarantino",
        "show_title": "Kill Bill: Vol. 1",
        "runtime": "111 min",
        "unit": 87
      },
      {
        "category": "Oscar-winning Movies",
        "rating": "4.1",
        "show_id": 880640,
        "release_year": "1994",
        "poster": "http://netflixroulette.net/api/posters/880640.jpg",
        "show_cast": "John Travolta, Samuel L. Jackson, Uma Thurman, Bruce Willis, Harvey Keitel, Tim Roth, Amanda Plummer, Ving Rhames, Eric Stoltz, Maria de Medeiros",
        "mediatype": 0,
        "summary": "Weaving together three stories featuring a burger-loving hit man, his philosophical partner and a washed-up boxer, Quentin Tarantino influenced a generation of filmmakers with this crime caper's stylized, over-the-top violence and dark comic spirit.",
        "director": "Quentin Tarantino",
        "show_title": "Pulp Fiction",
        "runtime": "154 min",
        "unit": 914
      },
      {
        "category": "Dramas",
        "rating": "3.7",
        "show_id": 60010514,
        "release_year": "1997",
        "poster": "http://netflixroulette.net/api/posters/60010514.jpg",
        "show_cast": "Pam Grier, Samuel L. Jackson, Robert Forster, Bridget Fonda, Michael Keaton, Robert De Niro, Michael Bowen, Chris Tucker, Lisa Gay Hamilton, Tommy 'Tiny' Lister",
        "mediatype": 0,
        "summary": "Jackie Brown is an aging flight attendant who smuggles cash on the side. But when she's busted and pressured to help with an investigation, she plans to play the opposing forces against each other and walk away with the dough.",
        "director": "Quentin Tarantino",
        "show_title": "Jackie Brown",
        "runtime": "154 min",
        "unit": 943
      },
      {
        "category": "Independent Movies",
        "rating": "4.0",
        "show_id": 902003,
        "release_year": "1992",
        "poster": "http://netflixroulette.net/api/posters/902003.jpg",
        "show_cast": "Harvey Keitel, Tim Roth, Michael Madsen, Steve Buscemi, Chris Penn, Lawrence Tierney, Edward Bunker, Quentin Tarantino, Randy Brooks, Kirk Baltz",
        "mediatype": 0,
        "summary": "Quentin Tarantino's directorial debut is raw, violent, often mimicked -- and unforgettable. A botched robbery indicates a police informant, and the pressure mounts in the aftermath at a warehouse. Crime begets violence as the survivors unravel.",
        "director": "Quentin Tarantino",
        "show_title": "Reservoir Dogs",
        "runtime": "99 min",
        "unit": 1151
      },
      {
        "category": "Comedies",
        "rating": "3.6",
        "show_id": 520179,
        "release_year": "1995",
        "poster": "http://netflixroulette.net/api/posters/520179.jpg",
        "show_cast": "Tim Roth, Antonio Banderas, Jennifer Beals, Bruce Willis, Paul Calderon, Madonna, Marisa Tomei, Quentin Tarantino, Ione Skye, Lili Taylor",
        "mediatype": 0,
        "summary": "One mad New Year's Eve, an overwhelmed bellboy copes with witches and diabolical children, gets caught in the middle of a sour relationship and settles a bloody bet for members of a superstar's entourage.",
        "director": "Quentin Tarantino, Robert Rodriguez, Allison Anders, Alexandre Rockwell",
        "show_title": "Four Rooms",
        "runtime": "98 min",
        "unit": 1463
      },
      {
        "category": "Dramas",
        "rating": "4.0",
        "show_id": 70230640,
        "release_year": "2012",
        "poster": "http://netflixroulette.net/api/posters/70230640.jpg",
        "show_cast": "Jamie Foxx, Christoph Waltz, Leonardo DiCaprio, Kerry Washington, Samuel L. Jackson, Walton Goggins, Dennis Christopher, James Remar, Michael Parks, Don Johnson",
        "mediatype": 0,
        "summary": "Accompanied by a German bounty hunter, a freed slave named Django travels across America to free his wife from a sadistic plantation owner.",
        "director": "Quentin Tarantino",
        "show_title": "Django Unchained",
        "runtime": "N/A",
        "unit": 17300
      }
    ]
  },
  "actors": {
    "Nicolas Cage": [
      {
        "category": "Comedies",
        "rating": "3.4",
        "show_id": 643557,
        "release_year": "1994",
        "poster": "http://netflixroulette.net/api/posters/643557.jpg",
        "show_cast": "Nicolas Cage, Bridget Fonda, Rosie P\u00e9rez, Wendell Pierce, Isaac Hayes, V\u00edctor Rojas, Seymour Cassel, Stanley Tucci, J.E. Freeman",
        "mediatype": 0,
        "summary": "In this charming romantic comedy based on a true story, a coffee-shop waitress gets a life-changing tip when a beat cop comes up short on pocket change and promises her half of his potential winnings from a lottery ticket.",
        "director": "Andrew Bergman",
        "show_title": "It Could Happen to You",
        "runtime": "101 min",
        "unit": 636
      },
      {
        "category": "Children & Family Movies",
        "rating": "4.1",
        "show_id": 70143241,
        "release_year": "2013",
        "poster": "http://netflixroulette.net/api/posters/70143241.jpg",
        "show_cast": "Nicolas Cage, Emma Stone, Ryan Reynolds, Catherine Keener, Cloris Leachman, Clark Duke, Chris Sanders, Randy Thom",
        "mediatype": 0,
        "summary": "When an earthquake obliterates their cave, an unworldly prehistoric family is forced to journey through unfamiliar terrain in search of a new home. But things for pessimistic dad Grug go from bad to worse when his daughter meets a clever cave boy.",
        "director": "Kirk De Micco, Chris Sanders",
        "show_title": "The Croods",
        "runtime": "98 min",
        "unit": 800
      },
      {
        "category": "Children & Family Movies",
        "rating": "3.5",
        "show_id": 70131173,
        "release_year": "2001",
        "poster": "http://netflixroulette.net/api/posters/70131173.jpg",
        "show_cast": "Simon Callow, Rhys Ifans, Kate Winslet, Nicolas Cage, Jane Horrocks, Michael Gambon, Juliet Stevenson, Robert Llewellyn, Iain Jones, Colin McFarlane",
        "mediatype": 0,
        "summary": "Nicolas Cage, Kate Winslet and Simon Callow provide voices for this animated version of the classic Charles Dickens tale about the miserable Ebenezer Scrooge, who learns the true meaning of Christmas from three ghosts who confront him in the night. The film uses live-action sequences to bookend the story, and a mouse in the animated portion helps younger viewers follow the story. Winslet sings the film's main theme.",
        "director": "Jimmy T. Murakami",
        "show_title": "Christmas Carol: The Movie",
        "runtime": "77 min",
        "unit": 2651
      },
      {
        "category": "Action & Adventure",
        "rating": "3.7",
        "show_id": 70257818,
        "release_year": "2012",
        "poster": "http://netflixroulette.net/api/posters/70257818.jpg",
        "show_cast": "Nicolas Cage, Josh Lucas, Danny Huston, Malin Akerman, Sami Gayle, Edrick Browne, Mark Valley, Barry Shabaka Henley, M.C. Gainey",
        "mediatype": 0,
        "summary": "Master thief Will Montgomery is ready to leave his criminal past behind. But when his daughter is kidnapped, he has no choice but to reunite with his old partner in crime and pull off one last heist.",
        "director": "Simon West",
        "show_title": "Stolen",
        "runtime": "96 min",
        "unit": 3863
      },
      {
        "category": "Action & Adventure",
        "rating": "3.8",
        "show_id": 70135880,
        "release_year": "2011",
        "poster": "http://netflixroulette.net/api/posters/70135880.jpg",
        "show_cast": "Nicolas Cage, January Jones, Guy Pearce, Harold Perrineau, Jennifer Carpenter, Xander Berkeley, IronE Singleton, Wayne P\u00e9re, Marcus Lyle Brown, Jason Davis",
        "mediatype": 0,
        "summary": "After his wife is brutally raped, English teacher Will Gerard is approached by a man from a vigilante group who offers to exact revenge on the perpetrator. But once the deed is done, Will discovers that the group expects a certain favor in return.",
        "director": "Roger Donaldson",
        "show_title": "Seeking Justice",
        "runtime": "105 min",
        "unit": 5221
      },
      {
        "category": "Thrillers",
        "rating": "3.5",
        "show_id": 70206627,
        "release_year": "2011",
        "poster": "http://netflixroulette.net/api/posters/70206627.jpg",
        "show_cast": "Nicolas Cage, Nicole Kidman, Ben Mendelsohn, Liana Liberato, Cam Gigandet, Jordana Spiro, Dash Mihok, Emily Meade, Nico Tortorella, Brandon Belknap",
        "mediatype": 0,
        "summary": "A husband and wife find themselves pushed to their absolute limit when they're held for ransom by brutal thugs who invade their home. As tensions escalate and shocking revelations emerge, the couple is forced to take ever-more desperate measures.",
        "director": "Joel Schumacher",
        "show_title": "Trespass",
        "runtime": "91 min",
        "unit": 6000
      },
      {
        "category": "Thrillers",
        "rating": "3.4",
        "show_id": 70253159,
        "release_year": "2013",
        "poster": "http://netflixroulette.net/api/posters/70253159",
        "show_cast": "Nicolas Cage, Vanessa Hudgens, John Cusack, Dean Norris, Gia Mantegna, Robert Forgit, Brad William Henke, Michael McGrady, Radha Mitchell, 50 Cent",
        "mediatype": 0,
        "summary": "In this fact-based thriller, an Alaska state trooper pursuing a serial killer teams with a 17-year-old-prostitute who escaped the predator's clutches.",
        "director": "Scott Walker",
        "show_title": "Frozen Ground",
        "runtime": "N/A",
        "unit": 8054
      },
      {
        "category": "Action & Adventure",
        "rating": "3.7",
        "show_id": 1154341,
        "release_year": "1997",
        "poster": "http://netflixroulette.net/api/posters/1154341.jpg",
        "show_cast": "John Travolta, Nicolas Cage, Joan Allen, Alessandro Nivola, Gina Gershon, Dominique Swain, Nick Cassavetes, Harve Presnell, Colm Feore, John Carroll Lynch",
        "mediatype": 0,
        "summary": "An antiterrorism agent goes under the knife to acquire the likeness of a terrorist and gather details about a bombing plot.",
        "director": "John Woo",
        "show_title": "Face/Off",
        "runtime": "N/A",
        "unit": 16989
      },
      {
        "category": "Action & Adventure",
        "rating": "2.9",
        "show_id": 80005641,
        "release_year": "2014",
        "poster": "http://netflixroulette.net/api/posters/80005641.jpg",
        "show_cast": "Nicolas Cage, Danny Glover, Michael McGrady, Peter Stormare, Max Ryan, Rachel Nichols, Patrice Cols, Weston Cage, Aubrey Peeples, Pasha D. Lychnikoff",
        "mediatype": 0,
        "summary": "When his daughter is abducted, a respectable businessman with a violent past rounds up his old crew to help him find her -- by any means necessary.",
        "director": "Paco Cabezas",
        "show_title": "Rage",
        "runtime": "N/A",
        "unit": 17703
      },
      {
        "category": "Romantic Movies",
        "rating": "3.5",
        "show_id": 772556,
        "release_year": "1987",
        "poster": "http://netflixroulette.net/api/posters/772556.jpg",
        "show_cast": "Cher, Nicolas Cage, Vincent Gardenia, Olympia Dukakis, Danny Aiello, Julie Bovasso, John Mahoney, Louis Guss, Feodor Chaliapin Jr., Anita Gillette",
        "mediatype": 0,
        "summary": "In this slice-of-life comedy about the Italian American residents of a Brooklyn neighborhood, a strong widow falls in love with a one-handed baker.",
        "director": "Norman Jewison",
        "show_title": "Moonstruck",
        "runtime": "N/A",
        "unit": 47519
      },
      {
        "category": "Independent Movies",
        "rating": "3.1",
        "show_id": 70293723,
        "release_year": "2013",
        "poster": "http://netflixroulette.net/api/posters/70293723.jpg",
        "show_cast": "Nicolas Cage, Tye Sheridan, Gary Poulter, Ronnie Gene Blevins, Sue Rock, Adriene Mishler, Heather Kafka",
        "mediatype": 0,
        "summary": "When ex-con Joe hires 15-year-old Gary to help clear trees for a lumber company, he doesn't expect to become a father figure for the abused boy.",
        "director": "David Gordon Green",
        "show_title": "Joe",
        "runtime": "N/A",
        "unit": 47637
      },
      {
        "category": "Romantic Movies",
        "rating": "3.5",
        "show_id": 692295,
        "release_year": "1995",
        "poster": "http://netflixroulette.net/api/posters/692295.jpg",
        "show_cast": "Nicolas Cage, Elisabeth Shue, Julian Sands, Richard Lewis, Steven Weber, Kim Adams, Emily Procter, Stuart Regen, Valeria Golino",
        "mediatype": 0,
        "summary": "An alcoholic moves to Las Vegas to drink himself to death and meets a prostitute who comes to love him, without trying to upset his nihilistic agenda.",
        "director": "Mike Figgis",
        "show_title": "Leaving Las Vegas",
        "runtime": "N/A",
        "unit": 47642
      }
    ]
  }
}