Scripting
Python: Parsing values from API Response
Python: Parsing values from API Response
· ☕ 3 min read · ✍️ Brett Johnson
Boto3 was my first real attempt to work with an API interface. At the start, I had difficulty using the API response. This was partly due to only light exposure to Python. Also, an incorrect understanding of what the response was. When people talk about APIs, it';s hard to go a minute without hearing “JSON format';. I had seen JSON formatted text before. Combining this, with documentation displaying API call response in JSON formation, lead to a 2+2=5 scenario.