Skip to content

A Mobile based movie updates application to view movie details. Developed using flutter.

Notifications You must be signed in to change notification settings

mahela98/Flutter-Movie-App

Repository files navigation

Movie App using Flutter and MovieDB API

Functions

  • Trending Movies
  • Top Rated movies
  • Upcomming Movies
  • Popular TV shows
  • Top TV shows
  • Search Movies by name

Technologies Used

  • Flutter
  • MovieDB API
  • Youtube API
  • VS-Code
  • Postman

How to run

  • Create urls.dart file inside urls folder.
  • Create a class as follows
import 'package:flutter/cupertino.dart';

class MovieDB {
  static String moviedb_trending_movie_url =
      'https://api.themoviedb.org/3/trending/movie/week?api_key={Your API key}';

  static String moviedb_top_rated_movie_url =
      'https://api.themoviedb.org/3/movie/top_rated?api_key={Your API key}';
  static String moviedb_popular_movie_url =
      'https://api.themoviedb.org/3/movie/popular?api_key={Your API key}';

  static String moviedb_upcomming_movie_url =
      'https://api.themoviedb.org/3/movie/upcoming?api_key={Your API key}';

  static String moviedb_popular_tvshows_url =
      'https://api.themoviedb.org/3/tv/popular?api_key={Your API key}';

  static String moviedb_top_rated_tvshows_url =
      'https://api.themoviedb.org/3/tv/top_rated?api_key={Your API key}';
  static String moviedb_latest_tvshows_url =
      'https://api.themoviedb.org/3/tv/latest?api_key={Your API key}';

  static searchMovieDB(String query) {
    String moviedb_search_movie_url =
        'https://api.themoviedb.org/3/search/movie?api_key={Your API key}&query=${query}';
    return moviedb_search_movie_url;
  }
}

class YouTube {


  static String youtube_API_key = "{Youtube API key}";

  static setUrl(String movieName) {
    String youtube_video_data_url =
        'https://www.googleapis.com/youtube/v3/search?key=${youtube_API_key}&q=${movieName} movie official trailer &maxResults=1&order=relevance';

    return youtube_video_data_url;
  }
}

Screen-shots

WhatsApp Image 2022-04-27 at 7 00 06 AM (1) WhatsApp Image 2022-04-27 at 7 00 04 AM (2)
WhatsApp Image 2022-04-27 at 7 00 02 AM WhatsApp Image 2022-04-27 at 7 00 05 AM
WhatsApp Image 2022-04-27 at 7 00 04 AM WhatsApp Image 2022-04-27 at 7 00 06 AM

About

A Mobile based movie updates application to view movie details. Developed using flutter.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages