get variables from https api json

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
2000ede
Normal user
Posts: 22
Joined: 12 Dec 2023, 16:43

get variables from https api json

#1 Post by 2000ede » 12 Dec 2023, 16:48

Hello,
i am a Beginner.

How exactly do I have to proceed in steps to get variables from the json that is returned via a URL to be called (Http Get command)?
I would then like to display this on a TFT screen.

only for example:
https://api.coinlore.net/api/tickers/
---> json: "price_usd" from 01

Thank you for your help!

Ede

User avatar
Ath
Normal user
Posts: 3522
Joined: 10 Jun 2018, 12:06
Location: NL

Re: get variables from https api json

#2 Post by Ath » 12 Dec 2023, 17:04

Hi, welcome to this forum.

At this time there are a few blocking issues to implement your request:
- ESPEasy does not (yet) support HTTPS connections (because of the resources required vs. the limited resources available).
- The HTTP GET support does not return the data (request response) as that would often overwhelm the (smaller) ESP units, again, because of limited available resources. There has, however, been a recent somewhat custom implementation of getting a response from a weather service, but that is, as said above, limited to HTTP connections.
/Ton (PayPal.me)

2000ede
Normal user
Posts: 22
Joined: 12 Dec 2023, 16:43

Re: get variables from https api json

#3 Post by 2000ede » 12 Dec 2023, 17:17

Thank you very much for the very quick answer!

I know that the esp8266 requires an additional library for https (with aduino IDE), but with an ESP32 you no longer need this.
That's why I thought it should work with ESP Easy with an ESP32.

I'm still at the beginning/beginner. But that really limits what I wanted to do.

Ath wrote: 12 Dec 2023, 17:04 Hi, welcome to this forum.

At this time there are a few blocking issues to implement your request:
- ESPEasy does not (yet) support HTTPS connections (because of the resources required vs. the limited resources available).
- The HTTP GET support does not return the data (request response) as that would often overwhelm the (smaller) ESP units, again, because of limited available resources. There has, however, been a recent somewhat custom implementation of getting a response from a weather service, but that is, as said above, limited to HTTP connections.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 38 guests