Coder Social home page Coder Social logo

odaridavid / smoovie-android-tmdb Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 0.0 11.75 MB

A Movies Android App built on TMDB API showcasing popular,trending and upcoming movies.Refactored to MVVM architecture using arch components.

Java 100.00%
movie tmdb-api movies nanodegree room-persistence-library roomdatabase room moviedb-api android tmdb

smoovie-android-tmdb's Introduction

Smoovie-android-TMDb

Travis Buils Codacy Badge Maintainability

Smoovie is an Android app Querying TMDb API to provide information on popular, trending, upcoming movies with an option of saving ones favourite movies in a wishlist.

Prerequisites

  1. Obtain Key

Create an account with TMDB to obtain an API key.

  1. Configure gradle.properties

Once you have your TMDB key,you will need to add it to a global gradle.properties file so as not to add it to version control and expose your key and configure the projects app module build.gradle to reflect the name you gave your API Key. To Access the global gradle.properties ,Locate the .gradle file in the following directory

Windows: C:\Users<Your Username>.gradle

Mac: /Users//.gradle

Linux: /home//.gradle

If it doesn't exist create one and add in your API key like so

PROJECT_API_KEY = 'API_KEY_VALUE'
  1. Configure build.gradle

Then In the app module build.gradle add the following function under defaultconfig/release/debug closures depending on your preference to have access to the API key.

 buildConfigField("String", "API_KEY", "\"${project.hasProperty("SMOOVIE_API_KEY") ? SMOOVIE_API_KEY : System.getenv("SMOOVIE_API_KEY")}\"")

Screenshots

Screen1 Screen2 Screen3 Screen4 Screen5

Libraries Used

License

MIT License

Copyright (c) 2018 David Odari

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

smoovie-android-tmdb's People

Contributors

codacy-badger avatar odaridavid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

smoovie-android-tmdb's Issues

Change Request Language as Per User Preference

Currently Changing the language through settings only alters app strings and resources but request is still sent in English by default
The requests need to be issued based on language set by default i,e Chinese preference should return chinese response from Chinese request for movies etc

Continous Page Scrolling

Currently Movies response Load one page ,same case with reviews in details view.
An Enhancment to scroll page by page smoothly would be awesome.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.