diff --git a/README.md b/README.md new file mode 100644 index 0000000..c63b375 --- /dev/null +++ b/README.md @@ -0,0 +1,49 @@ +# OCR / DA Python - Project6 + +## JustStreamIt + +Build a website using HTML/CSS (bootstrap) and Javascript +Retrieving data from remote API + +### Introduction + +These instructions allow you to : +- get the program +- install the required environment +- run and use it + +### Requirements + +1. modules +``` +packages : python 3.11, python3.11-venv, git +``` +2. API +https://github.com/OpenClassrooms-Student-Center/OCMovies-API-EN-FR + +### Installation + +1. Create the virtual environment +``` +python3.11 -m venv env +source env/bin/activate +``` +2. clone this repo + + +## Execution + +Make sure the API is started (refer to its instructions) then open the index.html in your browser + + +## Use +Browse as any website + +## Author + +YaL + +## License + +MIT License +Copyright (c) 2025 \ No newline at end of file diff --git a/index.html b/index.html index 24c2b22..fa2ae52 100644 --- a/index.html +++ b/index.html @@ -95,13 +95,11 @@
diff --git a/script.js b/script.js index 2f625e3..fe12930 100644 --- a/script.js +++ b/script.js @@ -266,8 +266,8 @@ function generateMovies(movieProm, id) { // ============ best film ============ // Il Grande Lebowski // bestFilm("118715") -bestFilm("101928"); - +//bestFilm("133093"); +bestFilm("234215"); // Get resources let bestRated = getMovies3("?sort_by=-imdb_score");