question archive I have to create a GUI application, where I can search for a film then displays its summary and the poster

I have to create a GUI application, where I can search for a film then displays its summary and the poster

Subject:Computer SciencePrice:0 Bought3

I have to create a GUI application, where I can search for a film then displays its summary and the poster. But using the Wikipedia API as it's written in the pdf file.
Create a GUI application in Python 3 and wxPython that shows information and a picture
about a movie downloaded from the wikipedia website. The application should have text
field for entering the movie's name. The data should be downloaded from the following
address:
https://en.wikipedia.org/w/api.php
an example query is this:
https://en.wikipedia.org/w/api.php?
format=json&action=query&prop=extracts&exintro=&explaintext=&titles=Crimson%20Tide
%20(film), that searches for a movie with the title „Crimson Tide“. The result should be
shown in a text field.
In order to get information about the main image of certain page you should make another
query to the API.
An example query for the same movie is:
https://en.wikipedia.org/w/api.php?
action=query&format=json&prop=images&titles=Crimson%20Tide%20(film)
After analyzing the returned result you should find the file that contains „poster“ in its name
or if there is no such file a one with „.jpg“ extension. You use this for another API call.
Here is an example:
https://en.wikipedia.org/w/api.php?
action=query&list=allimages&format=json&aifrom=Crimson%20tide%20movie
%20poster.jpg
From this API call you got the URL of the file you should download. For the examples
above the file is:
https://upload.wikimedia.org/wikipedia/en/f/ff/Crimson_tide_movie_poster.jpg
You should download this file.
Use Pillow to implement your own (not built-in) edge-detect filter with a kernel 5x5 pixels
and to show the result image next to the text info about the movie.
Your application should contain two buttons – one to start the search and other to close
the application.
The results should be locally cached. The text data in a text file and the images in
separate files. When there is a query for a movie whose data is cached no new data
should be downloaded from the Internet.
Your file should be named FXXXXXexam.py, where XXXXX is your faculty number.
IMPORTANT!
To query the Internet resources use only the built-in Python modules (so no requests
module).
For analyzing the JSON result you s
 

 

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Related Questions