Answered step by step
Verified Expert Solution
Question
1 Approved Answer
SOLVE USING PYTHON Assignment In this project, the learners should create a cliemt-server system that exchanges information about flights at a certain airport. The emphasis
SOLVE USING PYTHON
Assignment In this project, the learners should create a cliemt-server system that exchanges information about flights at a certain airport. The emphasis in this project is on clientserver architecture, network comnvanication, maltithreading, APL, and applying good coding. practices. The system should consist of two Python scripts (the server and the client). The server should retrieve data of a selected airport from aviationstack.coon via a proper APl, extract the required information from the retrieved data, manage connections with maaltiple clients at the same time, and respond to client requests. The Server Script The server should retrieve the information about flights at a specific airport over an API and handle the clients with their requests. It should extract the needed information from the API response and send it to the client. The server shoald conduct the following tasks: 1. Onoe the server starts up, it should ask the user to enter the airport code (arr_icao). 2. Uses the proper API to retrieve 100 records of flights at the specified airport (use avaitionstack.com). 3. Stoce the retrieved data in a JSON file called "group_ Digson" (for testing and evaluation purposes) 4. Wait for clients' requests to connect (should accept at least three connections simultaneously). a. Accept the connection. b. Store the client's name and display it on the terminal. 5. Wait for clients" requests, search the retrieved data for matching, and send a reply with the matching information. a. All arrived flights (return flight no., estimated tims of arrival, and terminal mumber). b. All delayed flights (return flight no., original time, and estinsated time of arrival). c. All flights from a specific city (return flight no., original time, and status). d. Details of a particular flight (retum flight no, original time, estimated time, statas, and terminal number). The server should display the following details clearly on its screen: 1. The acceptance of a new connection with the client's mame. 2. The requester name, type of request, and request parameters. 3. The disconnection of a client with its nameStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started