Skip to content

nataliepcodes/my_imdb_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Welcome to My IMDB API


Task

What is the problem? And where is the challenge?
Create a backed app with a light framework.
It will receive a requested Genre and only serve Movies with the corresponding Genre.
All routes to return a JSON format

Description

How have you solved the problem?
Used Flask framework, csv parser function to read the csv file.

Installation

How to install your project? npm install? make? make re?

pip install Flask

Then run the server with:

python app.py

Usage

How does it work?
Six Genres can be accessed with this application:

  • genre with an argument, e.g. Action, Comedy
  • Action
  • Adventure
  • Comedy
  • Drama
  • Romance
    GET on / This route will parse the GET parameter genre, to be able to filter by movie genre. Example on how to access this route:
curl "http://localhost:8080?genre=action"

GET on /action This route will only serve action movies. Example on how to access this route:

curl "http://localhost:8080/action"

The Core Team

Natalie P.

Made at Qwasar SV -- Software Engineering School Qwasar SV -- Software Engineering School's Logo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages