From fc9df9873816fd900f428efa3f09fa5521315e28 Mon Sep 17 00:00:00 2001 From: Partow Roshani Date: Fri, 24 Apr 2026 14:13:04 +0000 Subject: [PATCH] Update README.md --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index baa7e93..a942a0b 100644 --- a/README.md +++ b/README.md @@ -149,31 +149,31 @@ Implementation Steps: 1. Build and Send Request (getMovieById method): - Create HTTP request to: https://api.meshcomp.ir/api/v1/movies/{movieId} + - Create HTTP request to: https://api.meshcomp.ir/api/v1/movies/{movieId} - Replace {movieId} with the ID from user + - Replace {movieId} with the ID from user - Send request and get response + - Send request and get response 2. Handle Response (getMovieById method): - If status code is 200, return JSON body + - If status code is 200, return JSON body - Otherwise, print error and return null + - Otherwise, print error and return null 3. Parse JSON and Create Movie Object (displayMovieDetails method): - Parse JSON response to JsonObject + - Parse JSON response to JsonObject - Extract all fields: id, title, year, poster, country, imdb_rating + - Extract all fields: id, title, year, poster, country, imdb_rating - Parse "genres" array and convert each to Genre object + - Parse "genres" array and convert each to Genre object - Create a Movie object with all extracted data + - Create a Movie object with all extracted data 4. Display Results (displayMovieDetails method): - Print all movie details in a clean format + - Print all movie details in a clean format 2. Advanced search (title, genre, year, rating, etc.)