DiscoverMovies / movie-data-Collector

A java application to retrieve and fill the data from themoviedb into mysql database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Movie Data Collector

Build status Code Grade Testing
Build Status Codacy Badge Codacy Badge

This is a java commandline application which will collect the data from themoviedb.org and fill it to the provided database.

This will always create a schema by the name disovermovie

Usage

usage: Movie-Data-Collector
 -d <Host URL>                URL of Mysql server host if it is not
                              localhost
 -h,--help                    Show help
 -u <Username and password>   Username followed by password
 -v,--version                 Output the version and exit    

####Example

$ movie-data-collector -v
  Movie Data Collector Version 1.0
  Copyright (C) 2017 Sidhin S Thomas
  This is a free software; See source for copying conditions.
  There is no warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ movie-data-collector -u root root
    Initializing.....
    Connecting to database...
    Successfully connected to database.
    Creating schema if doesn't exist...
    Connection Database Schema established
    Database system working .... OK
    Successfully executed.
    Exiting...

$ movie-data-collector --help
    usage: Movie-Data-Collector
     -d <Host URL>                URL of Mysql server host if it is not
                                  localhost
     -h,--help                    Show help
     -u <Username and password>   Username followed by password
     -v,--version                 Output the version and exit  

Database Schema

alt tag

Contributing

Handling source code

  • The project has gradle support to handle dependencies.
    Run the following command: (if windows then gradlew.bat )

     $ gradlew build
    
  • Now create run configurations depending on your IDE.

    Make sure your running directory has the src/main/resources folder in it.

About

A java application to retrieve and fill the data from themoviedb into mysql database

License:GNU General Public License v3.0


Languages

Language:Java 100.0%