Greetings, Please, could someone help in Python to: 1-Create a program which uses the Request library to make a GET requ

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Greetings, Please, could someone help in Python to: 1-Create a program which uses the Request library to make a GET requ

Post by answerhappygod »

Greetings, Please, could someone help in Python to:
1-Create a program which uses the Request library to make a GETrequest of the following API: Chuck Norris Jokes.
2-The program will receive a JSON response which includesvarious pieces of data. You should parse the JSON data to obtainthe “value” key. The data associated with the value key should bedisplayed for the user (i.e., the joke).
3- Your program should allow the user to request a Chuck Norrisjoke as many times as they would like. You should make sure thatyour program does error checking at this point. If you ask the userto enter “Y” and they enter y, is that ok? Does it fail? If itfails, display a message for the user. There are other ways tohandle this. Think about included string functions youmight be able to call.
4- Your program must have a properly defined mainmethod and a properly defined call to main.
5- Your program must include a welcome message for theuser.
6- Your program must generate “pretty” output. Simply dumping abunch of data to the screen with no context doesn’t represent“pretty.”
Thank you.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply