Fetch Data from an API in Python