diff --git a/seasoned_api/test/fixtures/interstellar-query-movie-success-response.json b/seasoned_api/test/fixtures/interstellar-query-movie-success-response.json index aca9a34..61fdfc7 100644 --- a/seasoned_api/test/fixtures/interstellar-query-movie-success-response.json +++ b/seasoned_api/test/fixtures/interstellar-query-movie-success-response.json @@ -1 +1 @@ -{"page":1,"total_results":11,"total_pages":1,"results":[{"vote_count":15920,"id":157336,"video":false,"vote_average":8.2,"title":"Interstellar","popularity":34.088,"poster_path":"/nBNZadXqJSdt05SHLqgT0HuC5Gm.jpg","original_language":"en","original_title":"Interstellar","genre_ids":[12,18,878],"backdrop_path":"/xu9zaAevzQ5nnrsXN6JcahLnG4i.jpg","adult":false,"overview":"Interstellar chronicles the adventures of a group of explorers who make use of a newly discovered wormhole to surpass the limitations on human space travel and conquer the vast distances involved in an interstellar voyage.","release_date":"2014-11-05"},{"vote_count":126,"id":301959,"video":false,"vote_average":7.8,"title":"Interstellar: Nolan's Odyssey","popularity":4.961,"poster_path":"/xZwUIPqBHyJ2QIfMPANOZ1mAld6.jpg","original_language":"en","original_title":"Interstellar: Nolan's Odyssey","genre_ids":[99],"backdrop_path":"/bT5jpIZE50MI0COE8pOeq0kMpQo.jpg","adult":false,"overview":"Behind the scenes of Christopher Nolan's sci-fi drama, which stars Matthew McConaughey and Anne Hathaway","release_date":"2014-11-05"},{"vote_count":1,"id":287954,"video":false,"vote_average":7,"title":"Lolita from Interstellar Space","popularity":3.45,"poster_path":"/buoq7zYO4J3ttkEAqEMWelPDC0G.jpg","original_language":"en","original_title":"Lolita from Interstellar Space","genre_ids":[35],"backdrop_path":"/mgb6tVEieDYLpQt666ACzGz5cyE.jpg","adult":false,"overview":"An undeniably beautiful alien is sent to Earth to study the complex mating rituals of human beings, which leads to the young interstellar traveler experiencing the passion that surrounds the centuries-old ritual of the species.","release_date":"2014-03-08"},{"vote_count":0,"id":529107,"video":false,"vote_average":0,"title":"Inside Interstellar","popularity":1.102,"poster_path":"/vemBplPKQhVe5cRWL7kxtgp15Vq.jpg","original_language":"en","original_title":"Inside Interstellar","genre_ids":[99],"backdrop_path":null,"adult":false,"overview":"Cast and crew of Christopher Nolan's 'Interstellar' discuss project origins, the film's imagery, ambitions, incorporating IMAX footage, the human element within the film, arm shooting locations outside of Calgary, the set construction and design, working with real corn, mechanical characters, including backstory, design, the blend of practical and digital effects in bringing them to life, the differences in the characters, the human performances behind the characters, the creative process behind the film's music, Icelandic locations, vehicle interiors, the processes of simulating the absence of gravity, the crucial end-film visuals and influence and inspiration for future generations","release_date":"2015-03-31"},{"vote_count":6,"id":336592,"video":false,"vote_average":7.8,"title":"The Science of Interstellar","popularity":0.852,"poster_path":"/6KBD7YSBjCfgBgHwpsQo3G3GGdx.jpg","original_language":"en","original_title":"The Science of Interstellar","genre_ids":[99],"backdrop_path":null,"adult":false,"overview":"The science of Christopher Nolan's sci-fi, Interstellar.","release_date":"2014-11-25"},{"vote_count":7,"id":398188,"video":false,"vote_average":3.8,"title":"Interstellar Wars","popularity":0.6,"poster_path":"/cjvTebuqD8wmhchHE286ltVcbX6.jpg","original_language":"en","original_title":"Interstellar Wars","genre_ids":[878],"backdrop_path":"/yTnHa6lgIv8rNneSNBDkBe8MnZe.jpg","adult":false,"overview":"For Millennia the Aliien force has watched and waited, a brooding menace that has now at last decided to take over the Earth. Communications systems worldwide are sent into chaos by a strange atmospheric interference and this has turned into a global phenomenon. A massive spaceship headed towards Earth and smaller spaceships began to cover entire cities around the world. Suddenly, the wonder turns into horror as the spaceships destroy the cities with energy weapons. When the world counterattacks, the alien ships are invincible to military weapons. The survivors have to use their wits to kill the aliens, or die.","release_date":"2016-05-23"},{"vote_count":1,"id":460616,"video":false,"vote_average":4,"title":"Interstellar Civil War: Shadows of the Empire","popularity":0.959,"poster_path":"/7yTHKiVWZmUxgqGSzZv9yBx5bGI.jpg","original_language":"en","original_title":"Interstellar Civil War: Shadows of the Empire","genre_ids":[28,14,878],"backdrop_path":null,"adult":false,"overview":"The Imperial Empire is attacked by an Alliance of rebels led by fanatical mystics. The ruler, Empress Nobu, the 8th generation of her family, wants to execute a bold plan to rescue a cyborg, Leah C6, trapped on the battle ravaged planet Endor. The Empress believes Leah C6 holds the secret to destroying the Alliance of Rebels before their insurgency can kill millions of citizens of the Empire. She recruits her heroic fleet commander, Lord General Luka Raan and asks him to gather a team from the Empire's elite soldiers, the Galactic Rangers. Raan assembles the team in the ruins of Endor which was attacked by depraved Rebels and outlaws led by, Kindo-Ker, a fanatical mystic in Dark Energy. The Galactic Rangers begin a desperate search to find and rescue Leah C6 before the Alliance Rebels can.","release_date":"2018-04-15"},{"vote_count":0,"id":552531,"video":false,"vote_average":0,"title":"The Prom Goer's Interstellar Excursion","popularity":0.6,"poster_path":null,"original_language":"en","original_title":"The Prom Goer's Interstellar Excursion","genre_ids":[12],"backdrop_path":null,"adult":false,"overview":"High schooler Bennett lands the prom date of his dreams, Sophie, just days before the dance. Not long after, he witnesses Sophie being abducted by aliens in the middle of the New Mexico desert.","release_date":""},{"vote_count":11,"id":47662,"video":false,"vote_average":5.4,"title":"Trancers 4: Jack of Swords","popularity":3.221,"poster_path":"/69yr3oxBpSgua26RJkFmsm7plTG.jpg","original_language":"en","original_title":"Trancers 4: Jack of Swords","genre_ids":[878,28],"backdrop_path":"/5ism2HNUGuQi5a3ajYaN9ypMQMf.jpg","adult":false,"overview":"Jack is now back in the future. He had since lost Lena, and finds out that he's lost his other wife Alice to none other than Harris. While heading out for another assignment, something goes awry with the TCL chamber. Jack finds himself in a whole new dimension. He also runs across a different version of trancers. These guys seem to be in control of this planet. Jack manages to assist a rebel group known as the \"Tunnel Rats\" crush the rule of the evil Lord Calaban.","release_date":"1994-02-02"},{"vote_count":7,"id":47663,"video":false,"vote_average":5.3,"title":"Trancers 5: Sudden Deth","popularity":0.6,"poster_path":"/epMaTjPDMbgC8TbW1ZToh4RNv0i.jpg","original_language":"en","original_title":"Trancers 5: Sudden Deth","genre_ids":[28,53,878],"backdrop_path":"/an0xpUEX1P1BI80sCpkU1pSoREx.jpg","adult":false,"overview":"Jack Deth is back for one more round with the trancers. Jack must attempt to find his way home from the other-dimensional world of Orpheus, where magic works and the trancers were the ruling class (before Trancers IV, that is). Unfortunately, Jack's quest to find the mystical Tiamond in the Castle of Unrelenting Terror may be thwarted by the return of Caliban, king of the trancers who was thought dead.","release_date":"1994-11-04"},{"vote_count":1,"id":261443,"video":false,"vote_average":4.5,"title":"Angry Planet","popularity":0.6,"poster_path":"/ie5luS87ess1c5VgFhbGECJTQVK.jpg","original_language":"en","original_title":"Angry Planet","genre_ids":[878],"backdrop_path":"/u4JBwlGZN8hGeLxwu7Q0WmibACp.jpg","adult":false,"overview":"A criminal sentenced to life on a prison planet reveals his true purpose: to extract revenge on the killers who murdered his family.","release_date":"2008-01-01"}]} +{"page":1,"total_results":11,"total_pages":1,"results":[{"vote_count":15925,"id":157336,"video":false,"vote_average":8.2,"title":"Interstellar","popularity":31.724,"poster_path":"/nBNZadXqJSdt05SHLqgT0HuC5Gm.jpg","original_language":"en","original_title":"Interstellar","genre_ids":[12,18,878],"backdrop_path":"/xu9zaAevzQ5nnrsXN6JcahLnG4i.jpg","adult":false,"overview":"Interstellar chronicles the adventures of a group of explorers who make use of a newly discovered wormhole to surpass the limitations on human space travel and conquer the vast distances involved in an interstellar voyage.","release_date":"2014-11-05"},{"vote_count":126,"id":301959,"video":false,"vote_average":7.8,"title":"Interstellar: Nolan's Odyssey","popularity":5.505,"poster_path":"/xZwUIPqBHyJ2QIfMPANOZ1mAld6.jpg","original_language":"en","original_title":"Interstellar: Nolan's Odyssey","genre_ids":[99],"backdrop_path":"/bT5jpIZE50MI0COE8pOeq0kMpQo.jpg","adult":false,"overview":"Behind the scenes of Christopher Nolan's sci-fi drama, which stars Matthew McConaughey and Anne Hathaway","release_date":"2014-11-05"},{"vote_count":1,"id":287954,"video":false,"vote_average":7,"title":"Lolita from Interstellar Space","popularity":2.07,"poster_path":"/buoq7zYO4J3ttkEAqEMWelPDC0G.jpg","original_language":"en","original_title":"Lolita from Interstellar Space","genre_ids":[35],"backdrop_path":"/mgb6tVEieDYLpQt666ACzGz5cyE.jpg","adult":false,"overview":"An undeniably beautiful alien is sent to Earth to study the complex mating rituals of human beings, which leads to the young interstellar traveler experiencing the passion that surrounds the centuries-old ritual of the species.","release_date":"2014-03-08"},{"vote_count":7,"id":398188,"video":false,"vote_average":3.8,"title":"Interstellar Wars","popularity":0.819,"poster_path":"/cjvTebuqD8wmhchHE286ltVcbX6.jpg","original_language":"en","original_title":"Interstellar Wars","genre_ids":[878],"backdrop_path":"/yTnHa6lgIv8rNneSNBDkBe8MnZe.jpg","adult":false,"overview":"For Millennia the Aliien force has watched and waited, a brooding menace that has now at last decided to take over the Earth. Communications systems worldwide are sent into chaos by a strange atmospheric interference and this has turned into a global phenomenon. A massive spaceship headed towards Earth and smaller spaceships began to cover entire cities around the world. Suddenly, the wonder turns into horror as the spaceships destroy the cities with energy weapons. When the world counterattacks, the alien ships are invincible to military weapons. The survivors have to use their wits to kill the aliens, or die.","release_date":"2016-05-23"},{"vote_count":0,"id":529107,"video":false,"vote_average":0,"title":"Inside Interstellar","popularity":0.677,"poster_path":"/vemBplPKQhVe5cRWL7kxtgp15Vq.jpg","original_language":"en","original_title":"Inside Interstellar","genre_ids":[99],"backdrop_path":null,"adult":false,"overview":"Cast and crew of Christopher Nolan's 'Interstellar' discuss project origins, the film's imagery, ambitions, incorporating IMAX footage, the human element within the film, arm shooting locations outside of Calgary, the set construction and design, working with real corn, mechanical characters, including backstory, design, the blend of practical and digital effects in bringing them to life, the differences in the characters, the human performances behind the characters, the creative process behind the film's music, Icelandic locations, vehicle interiors, the processes of simulating the absence of gravity, the crucial end-film visuals and influence and inspiration for future generations","release_date":"2015-03-31"},{"vote_count":6,"id":336592,"video":false,"vote_average":7.8,"title":"The Science of Interstellar","popularity":0.6,"poster_path":"/6KBD7YSBjCfgBgHwpsQo3G3GGdx.jpg","original_language":"en","original_title":"The Science of Interstellar","genre_ids":[99],"backdrop_path":null,"adult":false,"overview":"The science of Christopher Nolan's sci-fi, Interstellar.","release_date":"2014-11-25"},{"vote_count":0,"id":552531,"video":false,"vote_average":0,"title":"The Prom Goer's Interstellar Excursion","popularity":0.6,"poster_path":null,"original_language":"en","original_title":"The Prom Goer's Interstellar Excursion","genre_ids":[12],"backdrop_path":null,"adult":false,"overview":"High schooler Bennett lands the prom date of his dreams, Sophie, just days before the dance. Not long after, he witnesses Sophie being abducted by aliens in the middle of the New Mexico desert.","release_date":""},{"vote_count":1,"id":460616,"video":false,"vote_average":4,"title":"Interstellar Civil War: Shadows of the Empire","popularity":0.6,"poster_path":"/7yTHKiVWZmUxgqGSzZv9yBx5bGI.jpg","original_language":"en","original_title":"Interstellar Civil War: Shadows of the Empire","genre_ids":[28,14,878],"backdrop_path":null,"adult":false,"overview":"The Imperial Empire is attacked by an Alliance of rebels led by fanatical mystics. The ruler, Empress Nobu, the 8th generation of her family, wants to execute a bold plan to rescue a cyborg, Leah C6, trapped on the battle ravaged planet Endor. The Empress believes Leah C6 holds the secret to destroying the Alliance of Rebels before their insurgency can kill millions of citizens of the Empire. She recruits her heroic fleet commander, Lord General Luka Raan and asks him to gather a team from the Empire's elite soldiers, the Galactic Rangers. Raan assembles the team in the ruins of Endor which was attacked by depraved Rebels and outlaws led by, Kindo-Ker, a fanatical mystic in Dark Energy. The Galactic Rangers begin a desperate search to find and rescue Leah C6 before the Alliance Rebels can.","release_date":"2018-04-15"},{"vote_count":11,"id":47662,"video":false,"vote_average":5.4,"title":"Trancers 4: Jack of Swords","popularity":3.313,"poster_path":"/69yr3oxBpSgua26RJkFmsm7plTG.jpg","original_language":"en","original_title":"Trancers 4: Jack of Swords","genre_ids":[878,28],"backdrop_path":"/5ism2HNUGuQi5a3ajYaN9ypMQMf.jpg","adult":false,"overview":"Jack is now back in the future. He had since lost Lena, and finds out that he's lost his other wife Alice to none other than Harris. While heading out for another assignment, something goes awry with the TCL chamber. Jack finds himself in a whole new dimension. He also runs across a different version of trancers. These guys seem to be in control of this planet. Jack manages to assist a rebel group known as the \"Tunnel Rats\" crush the rule of the evil Lord Calaban.","release_date":"1994-02-02"},{"vote_count":7,"id":47663,"video":false,"vote_average":5.3,"title":"Trancers 5: Sudden Deth","popularity":1.301,"poster_path":"/epMaTjPDMbgC8TbW1ZToh4RNv0i.jpg","original_language":"en","original_title":"Trancers 5: Sudden Deth","genre_ids":[28,53,878],"backdrop_path":"/an0xpUEX1P1BI80sCpkU1pSoREx.jpg","adult":false,"overview":"Jack Deth is back for one more round with the trancers. Jack must attempt to find his way home from the other-dimensional world of Orpheus, where magic works and the trancers were the ruling class (before Trancers IV, that is). Unfortunately, Jack's quest to find the mystical Tiamond in the Castle of Unrelenting Terror may be thwarted by the return of Caliban, king of the trancers who was thought dead.","release_date":"1994-11-04"},{"vote_count":1,"id":261443,"video":false,"vote_average":4.5,"title":"Angry Planet","popularity":0.623,"poster_path":"/ie5luS87ess1c5VgFhbGECJTQVK.jpg","original_language":"en","original_title":"Angry Planet","genre_ids":[878],"backdrop_path":"/u4JBwlGZN8hGeLxwu7Q0WmibACp.jpg","adult":false,"overview":"A criminal sentenced to life on a prison planet reveals his true purpose: to extract revenge on the killers who murdered his family.","release_date":"2008-01-01"}]} diff --git a/seasoned_api/test/fixtures/popular-movies-success-response.json b/seasoned_api/test/fixtures/popular-movies-success-response.json index d6c5f9d..215b1d0 100644 --- a/seasoned_api/test/fixtures/popular-movies-success-response.json +++ b/seasoned_api/test/fixtures/popular-movies-success-response.json @@ -1,227 +1 @@ -{ - "page": 1, - "results": [ - { - "background_path": "/9ywA15OAiwjSTvg3cBs9B7kOCBF.jpg", - "id": 337167, - "popularity": 620.073793, - "poster_path": "/jjPJ4s3DWZZvI4vw8Xfi4Vqa1Q8.jpg", - "score": 6.2, - "summary": "Believing they have left behind shadowy figures from their past, newlyweds Christian and Ana fully embrace an inextricable connection and shared life of luxury. But just as she steps into her role as Mrs. Grey and he relaxes into an unfamiliar stability, new threats could jeopardize their happy ending before it even begins.", - "title": "Fifty Shades Freed", - "type": "movie", - "year": 2018 - }, - { - "background_path": "/mhdeE1yShHTaDbJVdWyTlzFvNkr.jpg", - "id": 269149, - "popularity": 375.524444, - "poster_path": "/sM33SANp9z6rXW8Itn7NnG1GOEs.jpg", - "score": 7.7, - "summary": "Determined to prove herself, Officer Judy Hopps, the first bunny on Zootopia's police force, jumps at the chance to crack her first case - even if it means partnering with scam-artist fox Nick Wilde to solve the mystery.", - "title": "Zootopia", - "type": "movie", - "year": 2016 - }, - { - "background_path": "/b6ZJZHUdMEFECvGiDpJjlfUWela.jpg", - "id": 284054, - "popularity": 327.127873, - "poster_path": "/uxzzxijgPIY7slzFvMotPv8wjKA.jpg", - "score": 7.4, - "summary": "After the events of Captain America: Civil War, King T'Challa returns home to the reclusive, technologically advanced African nation of Wakanda to serve as his country's new leader. However, T'Challa soon finds that he is challenged for the throne from factions within his own country. When two foes conspire to destroy Wakanda, the hero known as Black Panther must team up with C.I.A. agent Everett K. Ross and members of the Dora Milaje, Wakandan special forces, to prevent Wakanda from being dragged into a world war.", - "title": "Black Panther", - "type": "movie", - "year": 2018 - }, - { - "background_path": "/c4Dw37VZjBmObmJw9bmt8IDwMZH.jpg", - "id": 181808, - "popularity": 231.685892, - "poster_path": "/kOVEVeg59E0wsnXmF9nrh6OmWII.jpg", - "score": 7.2, - "summary": "Rey develops her newly discovered abilities with the guidance of Luke Skywalker, who is unsettled by the strength of her powers. Meanwhile, the Resistance prepares to do battle with the First Order.", - "title": "Star Wars: The Last Jedi", - "type": "movie", - "year": 2017 - }, - { - "background_path": "/askg3SMvhqEl4OL52YuvdtY40Yb.jpg", - "id": 354912, - "popularity": 228.556797, - "poster_path": "/eKi8dIrr8voobbaGzDpe8w0PVbC.jpg", - "score": 7.8, - "summary": "Despite his family’s baffling generations-old ban on music, Miguel dreams of becoming an accomplished musician like his idol, Ernesto de la Cruz. Desperate to prove his talent, Miguel finds himself in the stunning and colorful Land of the Dead following a mysterious chain of events. Along the way, he meets charming trickster Hector, and together, they set off on an extraordinary journey to unlock the real story behind Miguel's family history.", - "title": "Coco", - "type": "movie", - "year": 2017 - }, - { - "background_path": "/rgyhSn3mINvkuy9iswZK0VLqQO3.jpg", - "id": 399055, - "popularity": 192.900926, - "poster_path": "/k4FwHlMhuRR5BISY2Gm2QZHlH5Q.jpg", - "score": 7.4, - "summary": "An other-worldly story, set against the backdrop of Cold War era America circa 1962, where a mute janitor working at a lab falls in love with an amphibious man being held captive there and devises a plan to help him escape.", - "title": "The Shape of Water", - "type": "movie", - "year": 2017 - }, - { - "background_path": "/kaIfm5ryEOwYg8mLbq8HkPuM1Fo.jpg", - "id": 284053, - "popularity": 188.734084, - "poster_path": "/rzRwTcFvttcN1ZpX2xv4j3tSdJu.jpg", - "score": 7.4, - "summary": "Thor is imprisoned on the other side of the universe and finds himself in a race against time to get back to Asgard to stop Ragnarok, the prophecy of destruction to his homeworld and the end of Asgardian civilization, at the hands of an all-powerful new threat, the ruthless Hela.", - "title": "Thor: Ragnarok", - "type": "movie", - "year": 2017 - }, - { - "background_path": "/bLJTjfbZ1c5zSNiAvGYs1Uc82ir.jpg", - "id": 338970, - "popularity": 172.766878, - "poster_path": "/ePyN2nX9t8SOl70eRW47Q29zUFO.jpg", - "score": 6.2, - "summary": "Lara Croft, the fiercely independent daughter of a missing adventurer, must push herself beyond her limits when she finds herself on the island where her father disappeared.", - "title": "Tomb Raider", - "type": "movie", - "year": 2018 - }, - { - "background_path": "/o5T8rZxoWSBMYwjsUFUqTt6uMQB.jpg", - "id": 141052, - "popularity": 153.290379, - "poster_path": "/eifGNCSDuxJeS1loAXil5bIGgvC.jpg", - "score": 6.4, - "summary": "Fuelled by his restored faith in humanity and inspired by Superman's selfless act, Bruce Wayne and Diana Prince assemble a team of metahumans consisting of Barry Allen, Arthur Curry and Victor Stone to face the catastrophic threat of Steppenwolf and the Parademons who are on the hunt for three Mother Boxes on Earth.", - "title": "Justice League", - "type": "movie", - "year": 2017 - }, - { - "background_path": "/gZF2EfM8ov834pCzRpt1xt01SUy.jpg", - "id": 394823, - "popularity": 138.469508, - "poster_path": "/x97gjhJW6X2fus5Q4zhgCe48LYr.jpg", - "score": 4.6, - "summary": "One day, robot Robby enters into a life of the most creative little boy, Toby. Robby had been separated from his robot parents when his spaceship crashed. Toby decides to offer his help and the two of them become friends.", - "title": "Robby and Toby's Fantastic Voyager", - "type": "movie", - "year": 2016 - }, - { - "background_path": "/4QrbczSQGZQA7BG9xMhccQI7LHm.jpg", - "id": 499772, - "popularity": 136.803208, - "poster_path": "/uGntNjUx6YAzbVy7RDgxWnWsdet.jpg", - "score": 5.5, - "summary": "The story of Jesse and Celeste who meets at an unexpected time in their lives. They then realize their names are the same as the characters in the popular break-up romantic comedy, Celeste and Jesse Forever.", - "title": "Meet Me In St. Gallen", - "type": "movie", - "year": 2018 - }, - { - "background_path": "/2SEgJ0mHJ7TSdVDbkGU061tR33K.jpg", - "id": 347882, - "popularity": 125.184868, - "poster_path": "/wridRvGxDqGldhzAIh3IcZhHT5F.jpg", - "score": 5.2, - "summary": "A young street magician is left to take care of his little sister after his mother's passing and turns to drug dealing in the Los Angeles party scene to keep a roof over their heads. When he gets into trouble with his supplier, his sister is kidnapped and he is forced to rely on both his sleight of hand and brilliant mind to save her.", - "title": "Sleight", - "type": "movie", - "year": 2017 - }, - { - "background_path": "/6aUWe0GSl69wMTSWWexsorMIvwU.jpg", - "id": 321612, - "popularity": 121.462615, - "poster_path": "/tWqifoYuwLETmmasnGHO7xBjEtt.jpg", - "score": 6.8, - "summary": "A live-action adaptation of Disney's version of the classic tale of a cursed prince and a beautiful young woman who helps him break the spell.", - "title": "Beauty and the Beast", - "type": "movie", - "year": 2017 - }, - { - "background_path": "/gDbNf0JpmG46fFTHJIPdFga9RRg.jpg", - "id": 300668, - "popularity": 113.297986, - "poster_path": "/d3qcpfNwbAMCNqWDHzPQsUYiUgS.jpg", - "score": 6.5, - "summary": "A biologist signs up for a dangerous, secret expedition into a mysterious zone where the laws of nature don't apply.", - "title": "Annihilation", - "type": "movie", - "year": 2018 - }, - { - "background_path": "/lkOZcsXcOLZYeJ2YxJd3vSldvU4.jpg", - "id": 198663, - "popularity": 109.304464, - "poster_path": "/coss7RgL0NH6g4fC2s5atvf3dFO.jpg", - "score": 7, - "summary": "Set in a post-apocalyptic world, young Thomas is deposited in a community of boys after his memory is erased, soon learning they're all trapped in a maze that will require him to join forces with fellow “runners” for a shot at escape.", - "title": "The Maze Runner", - "type": "movie", - "year": 2014 - }, - { - "background_path": "/rz3TAyd5kmiJmozp3GUbYeB5Kep.jpg", - "id": 353486, - "popularity": 105.483862, - "poster_path": "/bXrZ5iHBEjH7WMidbUDQ0U2xbmr.jpg", - "score": 6.5, - "summary": "The tables are turned as four teenagers are sucked into Jumanji's world - pitted against rhinos, black mambas and an endless variety of jungle traps and puzzles. To survive, they'll play as characters from the game.", - "title": "Jumanji: Welcome to the Jungle", - "type": "movie", - "year": 2017 - }, - { - "background_path": "/mVr0UiqyltcfqxbAUcLl9zWL8ah.jpg", - "id": 335984, - "popularity": 100.275711, - "poster_path": "/gajva2L0rPYkEWjzgFlBXCAVBE5.jpg", - "score": 7.3, - "summary": "Thirty years after the events of the first film, a new blade runner, LAPD Officer K, unearths a long-buried secret that has the potential to plunge what's left of society into chaos. K's discovery leads him on a quest to find Rick Deckard, a former LAPD blade runner who has been missing for 30 years.", - "title": "Blade Runner 2049", - "type": "movie", - "year": 2017 - }, - { - "background_path": "/3L5gfIKt2RK9vnCiLgWTAzkhQWC.jpg", - "id": 396422, - "popularity": 98.340797, - "poster_path": "/tb86j8jVCVsdZnzf8I6cIi65IeM.jpg", - "score": 6.4, - "summary": "Several years after the tragic death of their little girl, a dollmaker and his wife welcome a nun and several girls from a shuttered orphanage into their home, soon becoming the target of the dollmaker's possessed creation, Annabelle.", - "title": "Annabelle: Creation", - "type": "movie", - "year": 2017 - }, - { - "background_path": "/umC04Cozevu8nn3JTDJ1pc7PVTn.jpg", - "id": 245891, - "popularity": 88.622619, - "poster_path": "/5vHssUeVe25bMrof1HyaPyWgaP.jpg", - "score": 7, - "summary": "Ex-hitman John Wick comes out of retirement to track down the gangsters that took everything from him.", - "title": "John Wick", - "type": "movie", - "year": 2014 - }, - { - "background_path": "/9K4QqQZg4TVXcxBGDiVY4Aey3Rn.jpg", - "id": 460793, - "popularity": 88.332911, - "poster_path": "/As8WTtxXs9e3cBit3ztTf7zoRmm.jpg", - "score": 5.9, - "summary": "Olaf is on a mission to harness the best holiday traditions for Anna, Elsa, and Kristoff.", - "title": "Olaf's Frozen Adventure", - "type": "movie", - "year": 2017 - } - ], - "total_pages": 995, - "total_results": 19889 -} \ No newline at end of file +{"page":1,"total_results":19844,"total_pages":993,"results":[{"vote_count":1754,"id":335983,"video":false,"vote_average":6.6,"title":"Venom","popularity":446.596,"poster_path":"/2uNW4WbgBXL25BAbXGLnLqX71Sw.jpg","original_language":"en","original_title":"Venom","genre_ids":[878],"backdrop_path":"/VuukZLgaCrho2Ar8Scl9HtV3yD.jpg","adult":false,"overview":"When Eddie Brock acquires the powers of a symbiote, he will have to release his alter-ego \"Venom\" to save his life.","release_date":"2018-10-03"},{"vote_count":424,"id":424139,"video":false,"vote_average":6.7,"title":"Halloween","popularity":354.291,"poster_path":"/bXs0zkv2iGVViZEy78teg2ycDBm.jpg","original_language":"en","original_title":"Halloween","genre_ids":[27,53],"backdrop_path":"/tZ358Wk4BnOc4FjdGsiexAUvCMH.jpg","adult":false,"overview":"Laurie Strode comes to her final confrontation with Michael Myers, the masked figure who has haunted her since she narrowly escaped his killing spree on Halloween night four decades ago.","release_date":"2018-10-18"},{"vote_count":48,"id":507569,"video":false,"vote_average":5.9,"title":"The Seven Deadly Sins: Prisoners of the Sky","popularity":194.674,"poster_path":"/lgYGPujZNckyKwQQNwMLmkWoKui.jpg","original_language":"en","original_title":"劇場版 七つの大罪 天空の囚われ人","genre_ids":[28,12,14,16],"backdrop_path":"/uKwOX7MtKlAaGeCQe6c4jc1vZpj.jpg","adult":false,"overview":"Traveling in search of the rare ingredient, “sky fish” Meliodas and Hawk arrive at a palace that floats above the clouds. The people there are busy preparing a ceremony, meant to protect their home from a ferocious beast that awakens once every 3,000 years. But before the ritual is complete, the Six Knights of Black—a Demon Clan army—removes the seal on the beast, threatening the lives of everyone in the Sky Palace.","release_date":"2018-08-18"},{"vote_count":1202,"id":332562,"video":false,"vote_average":7.6,"title":"A Star Is Born","popularity":187.61,"poster_path":"/wrFpXMNBRj2PBiN4Z5kix51XaIZ.jpg","original_language":"en","original_title":"A Star Is Born","genre_ids":[18,10402,10749],"backdrop_path":"/840rbblaLc4SVxm8gF3DNdJ0YAE.jpg","adult":false,"overview":"Seasoned musician Jackson Maine discovers—and falls in love with—struggling artist Ally. She has just about given up on her dream to make it big as a singer—until Jack coaxes her into the spotlight. But even as Ally's career takes off, the personal side of their relationship is breaking down, as Jack fights an ongoing battle with his own internal demons.","release_date":"2018-10-03"},{"vote_count":3166,"id":260513,"video":false,"vote_average":7.6,"title":"Incredibles 2","popularity":170.839,"poster_path":"/x1txcDXkcM65gl7w20PwYSxAYah.jpg","original_language":"en","original_title":"Incredibles 2","genre_ids":[28,12,16,10751],"backdrop_path":"/mabuNsGJgRuCTuGqjFkWe1xdu19.jpg","adult":false,"overview":"Elastigirl springs into action to save the day, while Mr. Incredible faces his greatest challenge yet – taking care of the problems of his three children.","release_date":"2018-06-14"},{"vote_count":119,"id":454293,"video":false,"vote_average":6.4,"title":"Night School","popularity":152.869,"poster_path":"/1NSMAaBPSbWv7sGmF8oLGMNb8Qm.jpg","original_language":"en","original_title":"Night School","genre_ids":[35],"backdrop_path":"/7CWpvqVY5JWbEtkaenzqfJjVSal.jpg","adult":false,"overview":"Teddy Walker is a successful salesman whose life takes an unexpected turn when he accidentally blows up his place of employment. Forced to attend night school to get his GED, Teddy soon finds himself dealing with a group of misfit students, his former high school nemesis and a feisty teacher who doesn't think he's too bright.","release_date":"2018-09-27"},{"vote_count":197,"id":347375,"video":false,"vote_average":5.8,"title":"Mile 22","popularity":139.525,"poster_path":"/hQKdZ6nnHfrWCAZ87cPnazrJEDL.jpg","original_language":"en","original_title":"Mile 22","genre_ids":[28,53],"backdrop_path":"/A2rIVEV2jOzb4smx8hby1u9UwAm.jpg","adult":false,"overview":"An elite group of American operatives, aided by a top-secret tactical command team, must transport an asset who holds life-threatening information to an extraction point 22 miles away through the hostile streets of an Asian city.","release_date":"2018-08-16"},{"vote_count":1245,"id":439079,"video":false,"vote_average":5.8,"title":"The Nun","popularity":126.301,"poster_path":"/sFC1ElvoKGdHJIWRpNB3xWJ9lJA.jpg","original_language":"en","original_title":"The Nun","genre_ids":[27,9648,53],"backdrop_path":"/fgsHxz21B27hOOqQBiw9L6yWcM7.jpg","adult":false,"overview":"When a young nun at a cloistered abbey in Romania takes her own life, a priest with a haunted past and a novitiate on the threshold of her final vows are sent by the Vatican to investigate. Together they uncover the order’s unholy secret. Risking not only their lives but their faith and their very souls, they confront a malevolent force in the form of the same demonic nun that first terrorized audiences in “The Conjuring 2” as the abbey becomes a horrific battleground between the living and the damned.","release_date":"2018-09-05"},{"vote_count":9035,"id":299536,"video":false,"vote_average":8.3,"title":"Avengers: Infinity War","popularity":122.307,"poster_path":"/7WsyChQLEftFiDOVTGkv3hFpyyt.jpg","original_language":"en","original_title":"Avengers: Infinity War","genre_ids":[12,878,28,14],"backdrop_path":"/lmZFxXgJE3vgrciwuDib0N8CfQo.jpg","adult":false,"overview":"As the Avengers and their allies have continued to protect the world from threats too large for any one hero to handle, a new danger has emerged from the cosmic shadows: Thanos. A despot of intergalactic infamy, his goal is to collect all six Infinity Stones, artifacts of unimaginable power, and use them to inflict his twisted will on all of reality. Everything the Avengers have fought for has led up to this moment - the fate of Earth and existence itself has never been more uncertain.","release_date":"2018-04-25"},{"vote_count":367,"id":399360,"video":false,"vote_average":5.4,"title":"Alpha","popularity":117.828,"poster_path":"/afdZAIcAQscziqVtsEoh2PwsYTW.jpg","original_language":"en","original_title":"Alpha","genre_ids":[12,18],"backdrop_path":"/nKMeTdm72LQ756Eq20uTjF1zDXu.jpg","adult":false,"overview":"After a hunting expedition goes awry, a young caveman struggles against the elements to find his way home.","release_date":"2018-08-17"},{"vote_count":3065,"id":363088,"video":false,"vote_average":7,"title":"Ant-Man and the Wasp","popularity":110.377,"poster_path":"/rv1AWImgx386ULjcf62VYaW8zSt.jpg","original_language":"en","original_title":"Ant-Man and the Wasp","genre_ids":[28,12,878,35,10751],"backdrop_path":"/6P3c80EOm7BodndGBUAJHHsHKrp.jpg","adult":false,"overview":"Just when his time under house arrest is about to end, Scott Lang puts again his freedom at risk to help Hope van Dyne and Dr. Hank Pym dive into the quantum realm and try to accomplish, against time and any chance of success, a very dangerous rescue mission.","release_date":"2018-07-04"},{"vote_count":696,"id":346910,"video":false,"vote_average":5.3,"title":"The Predator","popularity":101.547,"poster_path":"/wMq9kQXTeQCHUZOG4fAe5cAxyUA.jpg","original_language":"en","original_title":"The Predator","genre_ids":[27,878,28,53],"backdrop_path":"/f4E0ocYeToEuXvczZv6QArrMDJ.jpg","adult":false,"overview":"From the outer reaches of space to the small-town streets of suburbia, the hunt comes home. Now, the universe’s most lethal hunters are stronger, smarter and deadlier than ever before, having genetically upgraded themselves with DNA from other species. When a young boy accidentally triggers their return to Earth, only a ragtag crew of ex-soldiers and a disgruntled science teacher can prevent the end of the human race.","release_date":"2018-09-13"},{"vote_count":258,"id":463272,"video":false,"vote_average":6.2,"title":"Johnny English Strikes Again","popularity":96.091,"poster_path":"/tCBxnZwLiY1BOKw3tH6AxHZdqPh.jpg","original_language":"en","original_title":"Johnny English Strikes Again","genre_ids":[12,10751,28,35],"backdrop_path":"/yCOLqh5MOGyYdo58Ap0aWvKop9h.jpg","adult":false,"overview":"Disaster strikes when a criminal mastermind reveals the identities of all active undercover agents in Britain. The secret service can now rely on only one man—Johnny English. Currently teaching at a minor prep school, Johnny springs back into action to find the mysterious hacker. For this mission to succeed, he’ll need all of his skills—what few he has—as the man with yesterday’s analogue methods faces off against tomorrow’s digital technology.","release_date":"2018-09-13"},{"vote_count":384,"id":369972,"video":false,"vote_average":7.2,"title":"First Man","popularity":90.644,"poster_path":"/i91mfvFcPPlaegcbOyjGgiWfZzh.jpg","original_language":"en","original_title":"First Man","genre_ids":[36,18],"backdrop_path":"/z1FkoHO7bz40S4JiptWHSYoPpxq.jpg","adult":false,"overview":"A look at the life of the astronaut, Neil Armstrong, and the legendary space mission that led him to become the first man to walk on the Moon on July 20, 1969.","release_date":"2018-10-11"},{"vote_count":1308,"id":345940,"video":false,"vote_average":6,"title":"The Meg","popularity":86.442,"poster_path":"/eyWICPcxOuTcDDDbTMOZawoOn8d.jpg","original_language":"en","original_title":"The Meg","genre_ids":[28,878,53],"backdrop_path":"/rH79sB6Nkx4cMW3JzsUy7wK0rhX.jpg","adult":false,"overview":"A deep sea submersible pilot revisits his past fears in the Mariana Trench, and accidentally unleashes the seventy foot ancestor of the Great White Shark believed to be extinct.","release_date":"2018-08-09"},{"vote_count":8750,"id":284054,"video":false,"vote_average":7.3,"title":"Black Panther","popularity":79.294,"poster_path":"/uxzzxijgPIY7slzFvMotPv8wjKA.jpg","original_language":"en","original_title":"Black Panther","genre_ids":[28,12,14,878],"backdrop_path":"/b6ZJZHUdMEFECvGiDpJjlfUWela.jpg","adult":false,"overview":"King T'Challa returns home from America to the reclusive, technologically advanced African nation of Wakanda to serve as his country's new leader. However, T'Challa soon finds that he is challenged for the throne by factions within his own country as well as without. Using powers reserved to Wakandan kings, T'Challa assumes the Black Panther mantel to join with girlfriend Nakia, the queen-mother, his princess-kid sister, members of the Dora Milaje (the Wakandan 'special forces') and an American secret agent, to prevent Wakanda from being dragged into a world war.","release_date":"2018-02-13"},{"vote_count":78,"id":438590,"video":false,"vote_average":5.4,"title":"A-X-L","popularity":78.392,"poster_path":"/9kB56ZdMB6RgY5QtX9Bar45jCeI.jpg","original_language":"en","original_title":"A-X-L","genre_ids":[878,28,12,10751],"backdrop_path":"/l1nYo0yzKjf84atnBDbx0do16vQ.jpg","adult":false,"overview":"The life of a teenage boy is forever altered by a chance encounter with cutting edge military technology.","release_date":"2018-08-16"},{"vote_count":373,"id":420814,"video":false,"vote_average":7.6,"title":"Christopher Robin","popularity":73.3,"poster_path":"/xR5w0he6czZkcAz459a4iPBqXGe.jpg","original_language":"en","original_title":"Christopher Robin","genre_ids":[16,12,35,10751,14],"backdrop_path":"/uDt8bQ4lGVlabEx5Gl2cPzvy6qz.jpg","adult":false,"overview":"Working-class family man Christopher Robin encounters his childhood friend Winnie-the-Pooh, who helps him to rediscover the joys of life.","release_date":"2018-08-02"},{"vote_count":13,"id":523873,"video":false,"vote_average":3.9,"title":"Kung Fu League","popularity":72.261,"poster_path":"/rW0A73hjzPWVwADlCTLnjLhAFLX.jpg","original_language":"zh","original_title":"功夫联盟","genre_ids":[28,35],"backdrop_path":null,"adult":false,"overview":"Martial arts comedy following a group of kung fu legends banding together to take on the bad guys. The legends includes VINCENT ZHAO reprising his role as ‘Wong Fei Hung’ with DENNIS TO once again portraying ‘Wing Chun’ master ‘Ip Man’, DANNY CHAN KWOK KWAN as ‘Chen Zhen’ and ANDY ON as master ‘Huo Yuan Jia’.","release_date":"2018-10-19"},{"vote_count":785,"id":487558,"video":false,"vote_average":7.5,"title":"BlacKkKlansman","popularity":69.141,"poster_path":"/bT5WuAsjDJYQv2vXbWGDQTmjKav.jpg","original_language":"en","original_title":"BlacKkKlansman","genre_ids":[80,18,35],"backdrop_path":"/gMVdhfQ7q9DFHhDkehrququjGPd.jpg","adult":false,"overview":"Ron Stallworth, an African-American police officer from Colorado, successfully manages to infiltrate the local Ku Klux Klan and become the head of the local chapter.","release_date":"2018-07-30"}]} diff --git a/seasoned_api/test/fixtures/popular-show-success-response.json b/seasoned_api/test/fixtures/popular-show-success-response.json index 2163c1d..7857913 100644 --- a/seasoned_api/test/fixtures/popular-show-success-response.json +++ b/seasoned_api/test/fixtures/popular-show-success-response.json @@ -1,227 +1 @@ -{ - "page": 1, - "results": [ - { - "background_path": "/nGsNruW3W27V6r4gkyc3iiEGsKR.jpg", - "id": 1418, - "popularity": 265.003846, - "poster_path": "/ooBGRQBdbGzBxAVfExiO8r7kloA.jpg", - "score": 6.8, - "summary": "The Big Bang Theory is centered on five characters living in Pasadena, California: roommates Leonard Hofstadter and Sheldon Cooper; Penny, a waitress and aspiring actress who lives across the hall; and Leonard and Sheldon's equally geeky and socially awkward friends and co-workers, mechanical engineer Howard Wolowitz and astrophysicist Raj Koothrappali. The geekiness and intellect of the four guys is contrasted for comic effect with Penny's social skills and common sense.", - "title": "The Big Bang Theory", - "type": "show", - "year": 2007 - }, - { - "background_path": "/xVzvD5BPAU4HpleFSo8QOdHkndo.jpg", - "id": 1402, - "popularity": 259.746702, - "poster_path": "/yn7psGTZsHumHOkLUmYpyrIcA2G.jpg", - "score": 7.4, - "summary": "Sheriff's deputy Rick Grimes awakens from a coma to find a post-apocalyptic world dominated by flesh-eating zombies. He sets out to find his family and encounters many other survivors along the way.", - "title": "The Walking Dead", - "type": "show", - "year": 2010 - }, - { - "background_path": "/a906PH7CDmSOdS7kmnAgdWk5mhv.jpg", - "id": 67744, - "popularity": 133.480285, - "poster_path": "/zVuc3Sfs6gyJm6M6Iq52jqdavw4.jpg", - "score": 7.5, - "summary": "An agent in the FBI's Elite Serial Crime Unit develops profiling techniques as he pursues notorious serial killers and rapists.", - "title": "Mindhunter", - "type": "show", - "year": 2017 - }, - { - "background_path": "/pH38r4TWTqq7Mcs6XAlwgzNUeJe.jpg", - "id": 1434, - "popularity": 115.294602, - "poster_path": "/gBGUL1UTUNmdRQT8gA1LUV4yg39.jpg", - "score": 6.6, - "summary": "Sick, twisted, politically incorrect and Freakin' Sweet animated series featuring the adventures of the dysfunctional Griffin family. Bumbling Peter and long-suffering Lois have three kids. Stewie (a brilliant but sadistic baby bent on killing his mother and taking over the world), Meg (the oldest, and is the most unpopular girl in town) and Chris (the middle kid, he's not very bright but has a passion for movies). The final member of the family is Brian - a talking dog and much more than a pet, he keeps Stewie in check whilst sipping Martinis and sorting through his own life issues.", - "title": "Family Guy", - "type": "show", - "year": 1999 - }, - { - "background_path": "/qtr5i6hOm6oVzTYl3jOQAYP3oc7.jpg", - "id": 1403, - "popularity": 111.281986, - "poster_path": "/xjm6uVktPuKXNILwjLXwVG5d5BU.jpg", - "score": 6.7, - "summary": "Agent Phil Coulson of S.H.I.E.L.D. (Strategic Homeland Intervention, Enforcement and Logistics Division) puts together a team of agents to investigate the new, the strange and the unknown around the globe, protecting the ordinary from the extraordinary.", - "title": "Marvel's Agents of S.H.I.E.L.D.", - "type": "show", - "year": 2013 - }, - { - "background_path": "/mmxxEpTqVdwBlu5Pii7tbedBkPC.jpg", - "id": 60735, - "popularity": 109.249893, - "poster_path": "/lUFK7ElGCk9kVEryDJHICeNdmd1.jpg", - "score": 6.7, - "summary": "After a particle accelerator causes a freak storm, CSI Investigator Barry Allen is struck by lightning and falls into a coma. Months later he awakens with the power of super speed, granting him the ability to move through Central City like an unseen guardian angel. Though initially excited by his newfound powers, Barry is shocked to discover he is not the only \"meta-human\" who was created in the wake of the accelerator explosion -- and not everyone is using their new powers for good. Barry partners with S.T.A.R. Labs and dedicates his life to protect the innocent. For now, only a few close friends and associates know that Barry is literally the fastest man alive, but it won't be long before the world learns what Barry Allen has become...The Flash.", - "title": "The Flash", - "type": "show", - "year": 2014 - }, - { - "background_path": "/f5uNbUC76oowt5mt5J9QlqrIYQ6.jpg", - "id": 456, - "popularity": 104.645298, - "poster_path": "/yTZQkSsxUFJZJe67IenRM0AEklc.jpg", - "score": 7.1, - "summary": "Set in Springfield, the average American town, the show focuses on the antics and everyday adventures of the Simpson family; Homer, Marge, Bart, Lisa and Maggie, as well as a virtual cast of thousands. Since the beginning, the series has been a pop culture icon, attracting hundreds of celebrities to guest star. The show has also made name for itself in its fearless satirical take on politics, media and American life in general.", - "title": "The Simpsons", - "type": "show", - "year": 1989 - }, - { - "background_path": "/2hF2RnjVwHvxfhH2lkB9H9FdQHb.jpg", - "id": 61555, - "popularity": 94.412332, - "poster_path": "/w1FDeOGoFS1qsSRHlj2Jzp2P0e1.jpg", - "score": 7.3, - "summary": "A gripping anthological relationship thriller series exploring the emotional fallout of a child's abduction not only on the family but on the wider community, told over two time frames.", - "title": "The Missing", - "type": "show", - "year": 2014 - }, - { - "background_path": "/dKxkwAJfGuznW8Hu0mhaDJtna0n.jpg", - "id": 1412, - "popularity": 85.601456, - "poster_path": "/mo0FP1GxOFZT4UDde7RFDz5APXF.jpg", - "score": 6, - "summary": "Spoiled billionaire playboy Oliver Queen is missing and presumed dead when his yacht is lost at sea. He returns five years later a changed man, determined to clean up the city as a hooded vigilante armed with a bow.", - "title": "Arrow", - "type": "show", - "year": 2012 - }, - { - "background_path": "/o9OKe3M06QMLOzTl3l6GStYtnE9.jpg", - "id": 1622, - "popularity": 85.36772, - "poster_path": "/pui1V389cQft0BVFu9pbsYLEW1Q.jpg", - "score": 7.2, - "summary": "When they were boys, Sam and Dean Winchester lost their mother to a mysterious and demonic supernatural force. Subsequently, their father raised them to be soldiers. He taught them about the paranormal evil that lives in the dark corners and on the back roads of America ... and he taught them how to kill it. Now, the Winchester brothers crisscross the country in their '67 Chevy Impala, battling every kind of supernatural threat they encounter along the way. ", - "title": "Supernatural", - "type": "show", - "year": 2005 - }, - { - "background_path": "/snxFgPvHMcpW5f8Q3wu6uRRycww.jpg", - "id": 1421, - "popularity": 81.016473, - "poster_path": "/gLAcu4VPCAb90oJvJ4nUJc5ZBQi.jpg", - "score": 7.3, - "summary": "The Pritchett-Dunphy-Tucker clan is a wonderfully large and blended family. They give us an honest and often hilarious look into the sometimes warm, sometimes twisted, embrace of the modern family.", - "title": "Modern Family", - "type": "show", - "year": 2009 - }, - { - "background_path": "/hTxfw4af6EizpLM7tHKtoSlbdnu.jpg", - "id": 1407, - "popularity": 78.331466, - "poster_path": "/lT8o38ubu9uzcjZbkDtwsVizDeQ.jpg", - "score": 7.3, - "summary": "CIA officer Carrie Mathison is tops in her field despite being bipolar, which makes her volatile and unpredictable. With the help of her long-time mentor Saul Berenson, Carrie fearlessly risks everything, including her personal well-being and even sanity, at every turn.", - "title": "Homeland", - "type": "show", - "year": 2011 - }, - { - "background_path": "/mKBP1OCgCG0jw8DwVYlnYqVILtc.jpg", - "id": 60708, - "popularity": 78.270408, - "poster_path": "/5tSHzkJ1HBnyGdcpr6wSyw7jYnJ.jpg", - "score": 6.9, - "summary": "Before there was Batman, there was GOTHAM. \n\nEveryone knows the name Commissioner Gordon. He is one of the crime world's greatest foes, a man whose reputation is synonymous with law and order. But what is known of Gordon's story and his rise from rookie detective to Police Commissioner? What did it take to navigate the multiple layers of corruption that secretly ruled Gotham City, the spawning ground of the world's most iconic villains? And what circumstances created them – the larger-than-life personas who would become Catwoman, The Penguin, The Riddler, Two-Face and The Joker? ", - "title": "Gotham", - "type": "show", - "year": 2014 - }, - { - "background_path": "/kOvt2BOOwSAQCT8yo3pM3X2GXjh.jpg", - "id": 2734, - "popularity": 77.581038, - "poster_path": "/yzMQBlirydvKp4Zgr5FbXlsrRmw.jpg", - "score": 6.2, - "summary": "In the criminal justice system, sexually-based offenses are considered especially heinous. In New York City, the dedicated detectives who investigate these vicious felonies are members of an elite squad known as the Special Victims Unit. These are their stories.", - "title": "Law & Order: Special Victims Unit", - "type": "show", - "year": 1999 - }, - { - "background_path": "/y6JABtgWMVYPx84Rvy7tROU5aNH.jpg", - "id": 1416, - "popularity": 77.265382, - "poster_path": "/mgOZSS2FFIGtfVeac1buBw3Cx5w.jpg", - "score": 6.2, - "summary": "Follows the personal and professional lives of a group of doctors at Seattle’s Grey Sloan Memorial Hospital.", - "title": "Grey's Anatomy", - "type": "show", - "year": 2005 - }, - { - "background_path": "/hQOrVu62yJkMkyKDKdzMt6MzdIQ.jpg", - "id": 72837, - "popularity": 75.714532, - "poster_path": "/pyruRb239sh6DUtj8FtjtOZG1d4.jpg", - "score": 2, - "summary": "Secret Story takes more or less the basic principles of Big Brother, a reality show created in 1997 by the Dutchman John de Mol. The game contestants are cut off from the rest of the world during ten to fifteen weeks in a house called “house of secrets”, where every room is fitted with video cameras, except the restroom. They have to keep a secret while trying to discover the other contestants’ one.", - "title": "Secret Story - Casa dos Segredos", - "type": "show", - "year": 2010 - }, - { - "background_path": "/efiX8iir6GEBWCD0uCFIi5NAyYA.jpg", - "id": 1668, - "popularity": 74.555045, - "poster_path": "/7buCWBTpiPrCF5Lt023dSC60rgS.jpg", - "score": 7.8, - "summary": "Friends is an American sitcom revolving around a group of friends in the New York City borough of Manhattan. Episodes typically depict the friends' comedic and romantic adventures and career issues, such as Joey auditioning for roles or Rachel seeking jobs in the fashion industry. The six characters each have many dates and serious relationships, such as Monica with Richard Burke and Ross with Emily Waltham. Other frequently recurring characters include Ross and Monica's parents in Long Island, Ross's ex-wife and their son, Central Perk barista Gunther, Chandler's ex-girlfriend Janice, and Phoebe's twin sister Ursula.", - "title": "Friends", - "type": "show", - "year": 1994 - }, - { - "background_path": "/gX8SYlnL9ZznfZwEH4KJUePBFUM.jpg", - "id": 1399, - "popularity": 73.757691, - "poster_path": "/gwPSoYUHAKmdyVywgLpKKA4BjRr.jpg", - "score": 8.1, - "summary": "Seven noble families fight for control of the mythical land of Westeros. Friction between the houses leads to full-scale war. All while a very ancient evil awakens in the farthest north. Amidst the war, a neglected military order of misfits, the Night's Watch, is all that stands between the realms of men and icy horrors beyond.", - "title": "Game of Thrones", - "type": "show", - "year": 2011 - }, - { - "background_path": "/uqu5SuPIr0VQPqXF7CuGY3j2431.jpg", - "id": 2046, - "popularity": 71.597403, - "poster_path": "/bMj6iM7TBcceG44vpireA2Axeab.jpg", - "score": 6.2, - "summary": "Sydney Bristow, an agent who has been tricked to believe she is working for the U.S. government, is actually working for a criminal organization named the Alliance of Twelve. Upon learning this, Sydney becomes a double agent for the real CIA.", - "title": "Alias", - "type": "show", - "year": 2001 - }, - { - "background_path": "/xHCfWGlxwbtMeeOnTvxUCZRGnkk.jpg", - "id": 62127, - "popularity": 71.366535, - "poster_path": "/nv4nLXbDhcISPP8C1mgaxKU50KO.jpg", - "score": 6.1, - "summary": "Danny Rand resurfaces 15 years after being presumed dead. Now, with the power of the Iron Fist, he seeks to reclaim his past and fulfill his destiny.", - "title": "Marvel's Iron Fist", - "type": "show", - "year": 2017 - } - ], - "total_pages": 1002, - "total_results": 20037 -} \ No newline at end of file +{"page":1,"total_results":19983,"total_pages":1000,"results":[{"original_name":"The Flash","genre_ids":[18,10765],"name":"The Flash","popularity":271.575,"origin_country":["US"],"vote_count":2315,"first_air_date":"2014-10-07","backdrop_path":"/mmxxEpTqVdwBlu5Pii7tbedBkPC.jpg","original_language":"en","id":60735,"vote_average":6.7,"overview":"After a particle accelerator causes a freak storm, CSI Investigator Barry Allen is struck by lightning and falls into a coma. Months later he awakens with the power of super speed, granting him the ability to move through Central City like an unseen guardian angel. Though initially excited by his newfound powers, Barry is shocked to discover he is not the only \"meta-human\" who was created in the wake of the accelerator explosion -- and not everyone is using their new powers for good. Barry partners with S.T.A.R. Labs and dedicates his life to protect the innocent. For now, only a few close friends and associates know that Barry is literally the fastest man alive, but it won't be long before the world learns what Barry Allen has become...The Flash.","poster_path":"/fki3kBlwJzFp8QohL43g9ReV455.jpg"},{"original_name":"The Walking Dead","genre_ids":[18,10759,10765],"name":"The Walking Dead","popularity":183.183,"origin_country":["US"],"vote_count":3741,"first_air_date":"2010-10-31","backdrop_path":"/xVzvD5BPAU4HpleFSo8QOdHkndo.jpg","original_language":"en","id":1402,"vote_average":7.3,"overview":"Sheriff's deputy Rick Grimes awakens from a coma to find a post-apocalyptic world dominated by flesh-eating zombies. He sets out to find his family and encounters many other survivors along the way.","poster_path":"/yn7psGTZsHumHOkLUmYpyrIcA2G.jpg"},{"original_name":"Grey's Anatomy","genre_ids":[18],"name":"Grey's Anatomy","popularity":104.917,"origin_country":["US"],"vote_count":806,"first_air_date":"2005-03-27","backdrop_path":"/y6JABtgWMVYPx84Rvy7tROU5aNH.jpg","original_language":"en","id":1416,"vote_average":6.3,"overview":"Follows the personal and professional lives of a group of doctors at Seattle’s Grey Sloan Memorial Hospital.","poster_path":"/mgOZSS2FFIGtfVeac1buBw3Cx5w.jpg"},{"original_name":"Marvel's Iron Fist","genre_ids":[80,18,10759,10765],"name":"Marvel's Iron Fist","popularity":92.48,"origin_country":["US"],"vote_count":698,"first_air_date":"2017-03-17","backdrop_path":"/xHCfWGlxwbtMeeOnTvxUCZRGnkk.jpg","original_language":"en","id":62127,"vote_average":6.1,"overview":"Danny Rand resurfaces 15 years after being presumed dead. Now, with the power of the Iron Fist, he seeks to reclaim his past and fulfill his destiny.","poster_path":"/nv4nLXbDhcISPP8C1mgaxKU50KO.jpg"},{"original_name":"Arrow","genre_ids":[80,18,9648,10759],"name":"Arrow","popularity":84.855,"origin_country":["US"],"vote_count":1998,"first_air_date":"2012-10-10","backdrop_path":"/dKxkwAJfGuznW8Hu0mhaDJtna0n.jpg","original_language":"en","id":1412,"vote_average":6,"overview":"Spoiled billionaire playboy Oliver Queen is missing and presumed dead when his yacht is lost at sea. He returns five years later a changed man, determined to clean up the city as a hooded vigilante armed with a bow.","poster_path":"/mo0FP1GxOFZT4UDde7RFDz5APXF.jpg"},{"original_name":"The Big Bang Theory","genre_ids":[35],"name":"The Big Bang Theory","popularity":82.409,"origin_country":["US"],"vote_count":3344,"first_air_date":"2007-09-24","backdrop_path":"/nGsNruW3W27V6r4gkyc3iiEGsKR.jpg","original_language":"en","id":1418,"vote_average":6.8,"overview":"The Big Bang Theory is centered on five characters living in Pasadena, California: roommates Leonard Hofstadter and Sheldon Cooper; Penny, a waitress and aspiring actress who lives across the hall; and Leonard and Sheldon's equally geeky and socially awkward friends and co-workers, mechanical engineer Howard Wolowitz and astrophysicist Raj Koothrappali. The geekiness and intellect of the four guys is contrasted for comic effect with Penny's social skills and common sense.","poster_path":"/ooBGRQBdbGzBxAVfExiO8r7kloA.jpg"},{"original_name":"The Simpsons","genre_ids":[16,35],"name":"The Simpsons","popularity":77.538,"origin_country":["US"],"vote_count":1731,"first_air_date":"1989-12-17","backdrop_path":"/lnnrirKFGwFW18GiH3AmuYy40cz.jpg","original_language":"en","id":456,"vote_average":7.1,"overview":"Set in Springfield, the average American town, the show focuses on the antics and everyday adventures of the Simpson family; Homer, Marge, Bart, Lisa and Maggie, as well as a virtual cast of thousands. Since the beginning, the series has been a pop culture icon, attracting hundreds of celebrities to guest star. The show has also made name for itself in its fearless satirical take on politics, media and American life in general.","poster_path":"/yTZQkSsxUFJZJe67IenRM0AEklc.jpg"},{"original_name":"Supergirl","genre_ids":[28,12,18,878],"name":"Supergirl","popularity":64.875,"origin_country":["US"],"vote_count":769,"first_air_date":"2015-10-26","backdrop_path":"/2qou2R47XZ1N6SlqGZcoCHDyEhN.jpg","original_language":"en","id":62688,"vote_average":5.8,"overview":"Twenty-four-year-old Kara Zor-El, who was taken in by the Danvers family when she was 13 after being sent away from Krypton, must learn to embrace her powers after previously hiding them. The Danvers teach her to be careful with her powers, until she has to reveal them during an unexpected disaster, setting her on her journey of heroism.","poster_path":"/vqBsgL9nd2v04ZvCqPzwtckDdFD.jpg"},{"original_name":"Chilling Adventures of Sabrina","genre_ids":[18,9648,10765],"name":"Chilling Adventures of Sabrina","popularity":62.946,"origin_country":[],"vote_count":17,"first_air_date":"2018-10-26","backdrop_path":"/8AdmUPTyidDebwIuakqkSt6u1II.jpg","original_language":"en","id":79242,"vote_average":7.6,"overview":"As her 16th birthday nears, Sabrina must choose between the witch world of her family and the human world of her friends. Based on the Archie comic.","poster_path":"/yxMpoHO0CXP5o9gB7IfsciilQS4.jpg"},{"original_name":"Doctor Who","genre_ids":[18,10759,10765],"name":"Doctor Who","popularity":57.379,"origin_country":["GB"],"vote_count":1264,"first_air_date":"2005-03-26","backdrop_path":"/mQ9yeCuofNatSyErUKAPD1uOq8Q.jpg","original_language":"en","id":57243,"vote_average":7,"overview":"The Doctor is a Time Lord: a 900 year old alien with 2 hearts, part of a gifted civilization who mastered time travel. The Doctor saves planets for a living – more of a hobby actually, and the Doctor's very, very good at it.","poster_path":"/3EcYZhBMAvVw4czcDLg9Sd0FuzQ.jpg"},{"original_name":"Supernatural","genre_ids":[18,9648,10765],"name":"Supernatural","popularity":55.872,"origin_country":["US"],"vote_count":1589,"first_air_date":"2005-09-13","backdrop_path":"/koMUCyGWNtH5LXYbGqjsUwvgtsT.jpg","original_language":"en","id":1622,"vote_average":7.2,"overview":"When they were boys, Sam and Dean Winchester lost their mother to a mysterious and demonic supernatural force. Subsequently, their father raised them to be soldiers. He taught them about the paranormal evil that lives in the dark corners and on the back roads of America ... and he taught them how to kill it. Now, the Winchester brothers crisscross the country in their '67 Chevy Impala, battling every kind of supernatural threat they encounter along the way. ","poster_path":"/3iFm6Kz7iYoFaEcj4fLyZHAmTQA.jpg"},{"original_name":"Game of Thrones","genre_ids":[18,10759,10765],"name":"Game of Thrones","popularity":55.149,"origin_country":["US"],"vote_count":4955,"first_air_date":"2011-04-17","backdrop_path":"/gX8SYlnL9ZznfZwEH4KJUePBFUM.jpg","original_language":"en","id":1399,"vote_average":8.2,"overview":"Seven noble families fight for control of the mythical land of Westeros. Friction between the houses leads to full-scale war. All while a very ancient evil awakens in the farthest north. Amidst the war, a neglected military order of misfits, the Night's Watch, is all that stands between the realms of men and icy horrors beyond.","poster_path":"/gwPSoYUHAKmdyVywgLpKKA4BjRr.jpg"},{"original_name":"Law & Order: Special Victims Unit","genre_ids":[80,18],"name":"Law & Order: Special Victims Unit","popularity":52.092,"origin_country":["US"],"vote_count":539,"first_air_date":"1999-09-20","backdrop_path":"/kOvt2BOOwSAQCT8yo3pM3X2GXjh.jpg","original_language":"en","id":2734,"vote_average":6.2,"overview":"In the criminal justice system, sexually-based offenses are considered especially heinous. In New York City, the dedicated detectives who investigate these vicious felonies are members of an elite squad known as the Special Victims Unit. These are their stories.","poster_path":"/ydSvHgksuB8Ix0V05QEZBKrnIcg.jpg"},{"original_name":"DC's Legends of Tomorrow","genre_ids":[18,10759,10765],"name":"DC's Legends of Tomorrow","popularity":52.048,"origin_country":["US"],"vote_count":606,"first_air_date":"2016-01-21","backdrop_path":"/AuZYwTktioCd13hhogAU0Bup2Cz.jpg","original_language":"en","id":62643,"vote_average":6.1,"overview":"When heroes alone are not enough ... the world needs legends. Having seen the future, one he will desperately try to prevent from happening, time-traveling rogue Rip Hunter is tasked with assembling a disparate group of both heroes and villains to confront an unstoppable threat — one in which not only is the planet at stake, but all of time itself. Can this ragtag team defeat an immortal threat unlike anything they have ever known?","poster_path":"/qEobyOhOTSse59ym0gIxsQgcRGZ.jpg"},{"original_name":"American Horror Story","genre_ids":[18,9648,10765],"name":"American Horror Story","popularity":50.925,"origin_country":["US"],"vote_count":927,"first_air_date":"2011-10-05","backdrop_path":"/ilKE2RPD8tkynAOHefX9ZclG1yq.jpg","original_language":"en","id":1413,"vote_average":6.9,"overview":"An anthology horror drama series centering on different characters and locations, including a house with a murderous past, an asylum, a witch coven, a freak show, a hotel, a farmhouse in Roanoke and a cult.","poster_path":"/zheiOgPKDMvYjrCSrMLv8FSNJn4.jpg"},{"original_name":"The Haunting of Hill House","genre_ids":[18,9648],"name":"The Haunting of Hill House","popularity":50.496,"origin_country":["US"],"vote_count":63,"first_air_date":"2018-10-12","backdrop_path":"/dQF17lG4OZ3pC4QD9iNjaMS96gO.jpg","original_language":"en","id":72844,"vote_average":8.1,"overview":"The Crains, a fractured family, confront haunting memories of their old home and the terrifying events that drove them from it.","poster_path":"/38PkhBGRQtmVx2drvPik3F42qHO.jpg"},{"original_name":"Ray Donovan","genre_ids":[18],"name":"Ray Donovan","popularity":47.327,"origin_country":["US"],"vote_count":313,"first_air_date":"2013-06-30","backdrop_path":"/ijX8tWeMBMPwEPKNpSavyd9334r.jpg","original_language":"en","id":1423,"vote_average":7.5,"overview":"Set in the sprawling mecca of the rich and famous, Ray Donovan does the dirty work for LA's top power players, and makes their problems disappear. His father's unexpected release from prison sets off a chain of events that shakes the Donovan family to its core.","poster_path":"/cwJ6nLNvX62By0yoLYWFhRelPkF.jpg"},{"original_name":"Dark Shadows","genre_ids":[18,10765,10766],"name":"Dark Shadows","popularity":46.699,"origin_country":["US"],"vote_count":32,"first_air_date":"1966-06-27","backdrop_path":"/wLgrvxvrxHgWt9AFqbgQUyJYWvH.jpg","original_language":"en","id":2883,"vote_average":6.4,"overview":"Dark Shadows is an American gothic soap opera that originally aired weekdays on the ABC television network, from June 27, 1966, to April 2, 1971. The show was created by Dan Curtis. The story bible, which was written by Art Wallace, does not mention any supernatural elements. It was unprecedented in daytime television when ghosts were introduced about six months after it began.\n\nThe series became hugely popular when vampire Barnabas Collins appeared a year into its run. Dark Shadows also featured werewolves, zombies, man-made monsters, witches, warlocks, time travel, and a parallel universe. A small company of actors each played many roles; indeed, as actors came and went, some characters were played by more than one actor. Major writers besides Art Wallace included Malcolm Marmorstein, Sam Hall, Gordon Russell, and Violet Welles.\n\nDark Shadows was distinguished by its vividly melodramatic performances, atmospheric interiors, memorable storylines, numerous dramatic plot twists, unusually adventurous music score, and broad and epic cosmos of characters and heroic adventures. Now regarded as something of a classic, it continues to enjoy an intense cult following. Although the original series ran for only five years, its scheduling as a daily daytime drama allowed it to amass more single episodes during its run than most other science-fiction/fantasy genre series produced for English-language television, including Doctor Who and the entire Star Trek television franchise. Only the paranormal soap opera Passions, with a total of 2,231 episodes, has more.","poster_path":"/y2t6w8il225T2IRsvpWJ2SzTrSn.jpg"},{"original_name":"Family Guy","genre_ids":[16,35],"name":"Family Guy","popularity":42.279,"origin_country":["US"],"vote_count":1278,"first_air_date":"1999-01-31","backdrop_path":"/pH38r4TWTqq7Mcs6XAlwgzNUeJe.jpg","original_language":"en","id":1434,"vote_average":6.5,"overview":"Sick, twisted, politically incorrect and Freakin' Sweet animated series featuring the adventures of the dysfunctional Griffin family. Bumbling Peter and long-suffering Lois have three kids. Stewie (a brilliant but sadistic baby bent on killing his mother and taking over the world), Meg (the oldest, and is the most unpopular girl in town) and Chris (the middle kid, he's not very bright but has a passion for movies). The final member of the family is Brian - a talking dog and much more than a pet, he keeps Stewie in check whilst sipping Martinis and sorting through his own life issues.","poster_path":"/gBGUL1UTUNmdRQT8gA1LUV4yg39.jpg"},{"original_name":"Friends","genre_ids":[35],"name":"Friends","popularity":41.584,"origin_country":["US"],"vote_count":1328,"first_air_date":"1994-09-22","backdrop_path":"/efiX8iir6GEBWCD0uCFIi5NAyYA.jpg","original_language":"en","id":1668,"vote_average":7.9,"overview":"The misadventures of a group of friends as they navigate the pitfalls of work, life and love in Manhattan.","poster_path":"/7buCWBTpiPrCF5Lt023dSC60rgS.jpg"}]} diff --git a/seasoned_api/test/system/asAUserIWantToGetPopularMovies.js b/seasoned_api/test/system/asAUserIWantToGetPopularMovies.js index d909d73..501f97c 100644 --- a/seasoned_api/test/system/asAUserIWantToGetPopularMovies.js +++ b/seasoned_api/test/system/asAUserIWantToGetPopularMovies.js @@ -7,12 +7,12 @@ const popularMoviesSuccess = require('test/fixtures/popular-movies-success-respo describe('As a user I want to get popular movies', () => { before(() => resetDatabase()); - before(() => createCacheEntry('p:movie:1', popularMoviesSuccess)); + before(() => createCacheEntry('pm:1', popularMoviesSuccess)); it('should return 200 with the information', () => request(app) - .get('/api/v1/tmdb/list/popular') + .get('/api/v2/movie/popular') .expect(200) .then(response => assert.equal(response.body.results.length, 20)) ); -}); \ No newline at end of file +}); diff --git a/seasoned_api/test/system/asAUserIWantToGetPopularShows.js b/seasoned_api/test/system/asAUserIWantToGetPopularShows.js index 5260235..375c95a 100644 --- a/seasoned_api/test/system/asAUserIWantToGetPopularShows.js +++ b/seasoned_api/test/system/asAUserIWantToGetPopularShows.js @@ -7,12 +7,12 @@ const popularShowsSuccess = require('test/fixtures/popular-show-success-response describe('As a user I want to get popular shows', () => { before(() => resetDatabase()); - before(() => createCacheEntry('p:show:1', popularShowsSuccess)); + before(() => createCacheEntry('pt:1', popularShowsSuccess)); it('should return 200 with the information', () => request(app) - .get('/api/v1/tmdb/list/popular?type=show') + .get('/api/v2/show/popular') .expect(200) .then(response => assert.equal(response.body.results.length, 20)) ); -}); \ No newline at end of file +}); diff --git a/seasoned_api/test/system/asAnAnonymousUserIWantToSearchForAMovie.js b/seasoned_api/test/system/asAnAnonymousUserIWantToSearchForAMovie.js index 13e43ab..788e35b 100644 --- a/seasoned_api/test/system/asAnAnonymousUserIWantToSearchForAMovie.js +++ b/seasoned_api/test/system/asAnAnonymousUserIWantToSearchForAMovie.js @@ -6,7 +6,7 @@ const interstellarQuerySuccess = require('test/fixtures/interstellar-query-movie describe('As an anonymous user I want to search for a movie', () => { before(() => resetDatabase()); - before(() => createCacheEntry('mose:1:interstellar', interstellarQuerySuccess)); + before(() => createCacheEntry('mos:1:interstellar', interstellarQuerySuccess)); it('should return 200 with the search results even if user is not logged in', () => request(app)