Monday, 6 June 2022
Python read json data from API
import
pandas
as
pd
import
requests
d = requests.get(
"https://www.yourwebsite.com/controller?ApiKey=value"
).json()
df = pd.DataFrame.from_dict(d[
'records'
])
df.shape
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment