switchpdf.in

Convert a JSON API Response to Excel: 3 Ways (No-Code, Python, Power Query) (opens in new tab)

Discussed on DEV

You call an API, get back JSON, and someone non-technical asks for it "in Excel." Here are three ways to do that — pick based on whether it's a one-off or a repeatable pipeline — plus the part everyone trips on: nested objects. The sample data [ { "id": 1, "name": "Ada", "address": { "city": "London", "zip": "EC1" }, "roles": ["admin", "editor"] }, { "id": 2, "name": "Alan", "address": { "city": "Oxford", "zip": "OX1" }, "roles": ["viewer"] } ] The catch: address is a nested object and roles ...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help