In the previous two chapters, we discussed different ways to get and manipulate strings. That makes this our third chapter on strings. Earlier, I talked about how a program can get text input from the user by using a call to input. In the previous chapter, I showed how a program could get data from and save data to a file. But there is another place where programs can get text data from: the Internet!
Request/response model
Getting a stock price
Pretending to be a browser
API
Requests with values
API Key
Example program to get stock price information ...