diff --git a/README.md b/README.md index 5217c032..84ef4c0b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ # VideoStoreAPI This Video Store API implementation is based on the Video Store API project that you have previously completed. +## Set Up Notes + +You will need to acquire an API key from [The Movie Database](https://www.themoviedb.org/documentation/api) before you can run this project and this includes seeding the database. + ## Functionality This API comes pre-packaged with most of the functionality that you will require. The following endpoints are impemented, based off of the primary and optional requirements of the project. diff --git a/lib/movie_wrapper.rb b/lib/movie_wrapper.rb index c51d05ee..0152c40e 100644 --- a/lib/movie_wrapper.rb +++ b/lib/movie_wrapper.rb @@ -9,13 +9,10 @@ class MovieWrapper def self.search(query) url = BASE_URL + "search/movie?api_key=" + KEY + "&query=" + query - puts url - # puts url response = HTTParty.get(url) if response["total_results"] == 0 return [] else - puts response movies = response["results"].map do |result| self.construct_movie(result) end