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
- Host: GitHub
- URL: https://github.com/singhpratyush/fresh-tomatoes-udacity
- Owner: singhpratyush
- License: mit
- Created: 2016-03-17T22:03:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-18T08:06:38.000Z (over 9 years ago)
- Last Synced: 2025-03-21T22:14:41.037Z (8 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.