Create lesson5-api.py

I need to check the last part