Fetching Data From Api In Python What Is One Function