Can you give me an example of a python script that opens an api point and serves a string?