added details about project

This commit is contained in:
yann 2025-04-02 12:36:38 +02:00
parent 20838adf13
commit 32630edd85
3 changed files with 52 additions and 5 deletions

49
README.md Normal file
View File

@ -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 <yann@needsome.coffee>
## License
MIT License
Copyright (c) 2025

View File

@ -95,13 +95,11 @@
<section class="py-5">
<div class="container">
<div id="menu">
<span>
<label for="category-select"><h2>Autres :</h2></label>
<span><label for="category-select"><h2>Autres :</h2></label></span>
<select name="category" id="category-select">
<option selected id="selected">Category</option>
<!-- getCategory() to fill the options -->
</select>
</span>
</div>
<div class="row" id="other">
<!-- square block model-->

View File

@ -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");