ruby-tmdb icon indicating copy to clipboard operation
ruby-tmdb copied to clipboard

TmdbList addition

Open KellyMahan opened this issue 12 years ago • 5 comments

Added new class TmdbList with 4 new methods to retrieve data from tmdb.

list = TmdbList.upcoming list = TmdbList.now_playing list = TmdbList.top_rated list = TmdbList.popular

each method has an optional page and language arguments list = TmdbList.popular(2,"EN")

a TmdbList instance has theses accessors

attr_accessor :page, :movie_ids, :total_pages, :total_results, :movies_data, :movies

list.movies_data is the original json data list.movies is an array of TmdbList::Movie objects.

a TmdbList::Movie object has these accessors. attr_accessor :backdrop_path, :id, :original_title, :release_date, :poster_path, :title, :vote_average, :vote_count

KellyMahan avatar Dec 04 '12 19:12 KellyMahan

Sorry for the delay, @KellyMahan, I was fixing the test suite inside TravisCI before read and test your pull request.

Great addition in the gem. Could you document TmdbList methods in README file?

Irio avatar Dec 06 '12 00:12 Irio

Sorry for all the commits. Were will be using this gem in production soon and I've been adding to it as needed.

KellyMahan avatar Dec 07 '12 22:12 KellyMahan

@KellyMahan Can you verify your last commits? It seems your last commit introduced a conflict, so I can't merge it.

You can also see Travis CI build history.

Irio avatar Dec 09 '12 23:12 Irio

It looks like TmdbList never made it into Master? Any chance that could get merged?

vgkids avatar Oct 23 '13 00:10 vgkids

Sorry, @vgkids. I can't merge it while the branch have conflicts.

@KellyMahan do you still want to solve them?

Irio avatar Nov 01 '13 22:11 Irio