🎬Application that displays a list of more than 10.000 Movies and TV shows using Modern Android Application Development tools and API's
The App Makes a request to TMDB's API to get:
-
A list of the current
popular
andtop_rated
movies on TMDb./movie/{category}
- List of official genres for movies.
/genre/movie/list
- List of user reviews for a movie.
/movie/{movie_id}/reviews
- The cast and crew for a movie.
/movie/{movie_id}/credits
- The videos(trailers, behind the Scenes, & bloopers) that have been added to a movie.
/movie/{movie_id}/videos
- A specific movie.
/search/movie
- List of official genres for movies.
-
A list of the current
popular
andtop_rated
TV shows on TMDb./tv/{category}
- List of official genres for TV shows.
/genre/tv/list
- List of user reviews for a TV show.
/tv/{tv_id}/reviews
- The cast and crew for a TV show.
/tv/{tv_id}/credits
- The videos(trailers, behind the Scenes, & bloopers) that have been added to a TV Show.
/tv/{tv_id}/videos
- A specific TV show.
/search/tv
- List of official genres for TV shows.
Base URL = "https://api.themoviedb.org/3/"
PS: To test this code you will need to:
- Get an API Key from TMDB
- Create a file on the Utils package with:
const val SECRET_KEY = "PLACE YOUR API KEY HERE"
- Android Jetpack - Suite of libraries, tools, and guidance to help developers write high-quality apps easier.
- CircleImageView - A fast circular ImageView perfect for profile images.
- Glide - A fast and efficient open source media management and image loading framework for Android.
- GSON - Java library that can be used to convert Java Objects into their JSON representation.
- Hilt - Library that provides a standard way to incorporate Dagger dependency injection into an Android application.
- Kotlin Coroutines - Concurrency design pattern used on Android to simplify code that executes asynchronously.
- Retrofit 2 - A type-safe HTTP client for Android and Java.
- Timber - Logger with a small, extensible API which provides utility on top of Android's normal Log class.
- Doilio A. Matsinhe
Copyright 2020 Doilio Abel Matsinhe
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.