Code Monkey home page Code Monkey logo

imdb-search-engine's Introduction

simple-client-server-app

Description

Implementation of console client-server app which has the functionality of IMDb search engine and uses OMDb Api.

The client inserts certain commands in order to find movie data. The server searches in the cache on the local machine first and then uses the api to download data.

Commands

get-movie <movie_name> [field1,field2]

Returns the whole info about the movie, if there are no fields specified; else it returns only the specified fields;

  • Example:

get-movie La la land [Title, Year]

TITLE: La La Land YEAR: 2016

get-movies order=[asc|desc] genres=[genre_1, genre_2] actors=[actor_1, actor_2]

Returns info for the movies that has passed the filters genres and actors in the selected by the client order. The fields genres and order are not mandatory, but the field actors is required.

get-tv-series <name> season=<value>

Return info for the episodes of the specified TV series' season.

Exceptions

There are some custom runtime exceptions:

UnknownCommandException

This exception is thrown, if the client enters command which the server doesn't recognize.

CommandTypoEception

This exception is thrown, if the command is not used right. For example, the expected fields are mistaken.

Reference

The app was created for the course "Modern Java Technologies" at FMI, Sofia University. @2018

imdb-search-engine's People

Contributors

tdoycheva avatar

Stargazers

 avatar

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.