Skip to content

Commit 452dd75

Browse files
committed
Your turn instructions updated for new API.
1 parent 75b0509 commit 452dd75

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

apps/10_movie_search/you_try/README.md

+13-4
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,29 @@
22

33
![image](app-10-screenshot.png)
44

5-
If you want to try this yourself, try to build the interactive app above.
5+
Your turn. Try to build the interactive app above.
66

7-
This application use the OMDb API to search live movie data for movies matching the title in your search text. It focuses on being reliable even when the network fails or the user enters bad information.
7+
This application use the Talk Python MovieDb API to search live movie data for movies
8+
matching the title in your search text. It focuses on being reliable
9+
even when the network fails or the user enters bad information.
810

911
Key concepts introduced
1012
=================
1113

1214
**The API**
1315

14-
You can find the details of the JSON HTTP API at [www.omdbapi.com](http://www.omdbapi.com).
16+
You can find the details of the JSON HTTP API at [movie_service.talkpython.fm](http://movie_service.talkpython.fm/).
1517

1618
**Try/Except Error Handling**
1719

18-
try: method1() method2() method3() except ConnectionError as ce: # handle network error except Exception as x: # handle general error
20+
try:
21+
method1()
22+
method2()
23+
method3()
24+
except ConnectionError as ce:
25+
# handle network error
26+
except Exception as x:
27+
# handle general error
1928

2029
**Raising your own errors and exceptions**
2130

0 commit comments

Comments
 (0)