An open API service indexing awesome lists of open source software.

https://github.com/singhpratyush/fresh-tomatoes-udacity

Generate webpage from given set of movies
https://github.com/singhpratyush/fresh-tomatoes-udacity

Last synced: 26 days ago
JSON representation

Generate webpage from given set of movies

Awesome Lists containing this project

README

          

# Fresh Tomatoes

A `python` script that generates a web page from the provided set of movies (defined in `movie.py`).

### Usage

Prepare a list of objects of type `Movie` and pass them in `open_movie_pages()` to generate `fresh_tomatoes.html`.

### Creating Movie object

Make a call for the constructor as
```python
new_movie = movie.Movie('title', 'url_to_poster', 'url_to_youtube_trailer', 'details')
```

If no description is available, pass `details` as `''` (empty `str`).

#### Sample Run

`run.py` can be executed to check functionality.


Developed as a part of Udacity Nanodegree course.