added details about project
This commit is contained in:
parent
20838adf13
commit
32630edd85
49
README.md
Normal file
49
README.md
Normal 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
|
@ -95,13 +95,11 @@
|
|||||||
<section class="py-5">
|
<section class="py-5">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div id="menu">
|
<div id="menu">
|
||||||
<span>
|
<span><label for="category-select"><h2>Autres :</h2></label></span>
|
||||||
<label for="category-select"><h2>Autres :</h2></label>
|
|
||||||
<select name="category" id="category-select">
|
<select name="category" id="category-select">
|
||||||
<option selected id="selected">Category</option>
|
<option selected id="selected">Category</option>
|
||||||
<!-- getCategory() to fill the options -->
|
<!-- getCategory() to fill the options -->
|
||||||
</select>
|
</select>
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row" id="other">
|
<div class="row" id="other">
|
||||||
<!-- square block model-->
|
<!-- square block model-->
|
||||||
|
@ -266,8 +266,8 @@ function generateMovies(movieProm, id) {
|
|||||||
// ============ best film ============
|
// ============ best film ============
|
||||||
// Il Grande Lebowski
|
// Il Grande Lebowski
|
||||||
// bestFilm("118715")
|
// bestFilm("118715")
|
||||||
bestFilm("101928");
|
//bestFilm("133093");
|
||||||
|
bestFilm("234215");
|
||||||
|
|
||||||
// Get resources
|
// Get resources
|
||||||
let bestRated = getMovies3("?sort_by=-imdb_score");
|
let bestRated = getMovies3("?sort_by=-imdb_score");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user