Parsing Data From an API using ArduinoJSON (ESP8266/ESP32) @BrianLough
Parsing Data From an API using ArduinoJSON (ESP8266/ESP32)  @BrianLough
Uploaded May 2021 | Updated November 2026, 12 hours ago
In this video we will look at using ArduinoJSON to parse data that we get back from APIs. Arduino JSON is a really great piece of software but there are a few caveats that are important to know when you are using it.


Outro Remix by @Davedarko


---------------------------------
Timestamps:
---------------------------------

00:00 - Intro
00:34 - ArduinoJSON library overview
01:54 - ArduinoJSON Assistant
04:44 - Dynamic versus Static
05:35 - Handling errors and extracting data
06:41 - Variable Types
06:55 - Warning about char * and memory
08:27 - Parsing the data from the API
09:13 - ArduinoJSON Book
09:48 - Filtering
11:18 - Outro
11:37 - "covered in dog hair" remix by Dave Darko


---------------------------------
Links:
---------------------------------

Original API request video: youtube.com/watch?v=HUjFMVOpXBM

Some links about memory on ESP8266: gist.github.com/witnessmenow/8155c74d5599bfd1c4b1f6e813b1f490

ArduinoJSON: arduinojson.org

ArduinoJSON Assistant: arduinojson.org/v6/assistant

ArduinoJSON Book (help support the author!): arduinojson.org/book

---------------------------------
Code:
---------------------------------

Sample API code (both original and new one with JSON): github.com/witnessmenow/arduino-sample-api-request

---------------------------------
My Discord:
---------------------------------

Come hang out and talk about this video or any project you are working on!

discord.gg/nnezpvq

---------------------------------
Github Sponsorship:
---------------------------------

I have set up a Github Sponsorship page, it's similar style thing to patreon. Github sponsorships help support videos like these plus the open source projects I create.

github.com/sponsors/witnessmenow

Some people have said they would prefer a once off way of supporting the channel, here is a Paypal link if you would prefer that!

paypal.me/bloughyt

---------------------------------
My Tindie Store:
---------------------------------

My tindie store is currently on vacation mode, it will re-open shortly.

tindie.com/stores/brianlough

---------------------------------
Other Platforms:
---------------------------------

Twitter: @witnessmenow - twitter.com/witnessmenow

Instagram - instagram.com/brian_lough

Instructables: witnessmenow - instructables.com/member/witnessmenow

---------------------------------
My Tools & Kit*:
---------------------------------

Ender 3 Pro 3d Printer - I got one of these recently and I love it!
- UK : amzn.to/31bebXT
- US : amzn.to/2IlSLid

Ts-100 Soldering Iron - I have this a couple of years and I love it, I thinking about getting a second!
- UK : amzn.to/2nlOF23
- US : amzn.to/2jDcyxl

Lumix GH7 Camera - Camera I used in this video
- UK : amzn.to/3fCdejn
- US: amzn.to/3oJk0Yx


Logitech C920 HD 1080p Pro webcam - I use one of these for my videos
- UK: amzn.to/2pnxk9Z

- US: amzn.to/2BsLMiF


*= Affiliate Links
Parsing Data From an API using ArduinoJSON (ESP8266/ESP32)Arduino Alarm Clock Build #03Maker Monday - Upcoming project ESP32, Telegram and Google MapsThe Simplest DIY Macro Keypad with ArduinoLets finish the Spotify API library![Was Live] Working on libraries #2.5 - updating YouTube Api to work with esp32Miniware TS80P Review - USB-C Power Delivery Soldering Iron!Easter Egg Hunt Using 8 ESP32Arduino Alarm Clock Build #04 - Google Maps IntegrationArduino Commute CheckerArduino Automated Product Tester - Power BLough-R testerLightpipe 7-Segment Display
Brian Lough |

Parsing Data From an API using ArduinoJSON (ESP8266/ESP32)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER