ESP32 Arduino IDE | API & Array implementation
- or -
Post a project like this429
£25(approx. $31)
- Posted:
- Proposals: 4
- Remote
- #3840351
- Awarded
Description
Experience Level: Entry
I'm working through a project that involves pulling data from an API, the data is coming in perfectly, and being filtered down to the required sections. Below is a sample of what is pulled in.
"stopEvents": [
{
"departureTimePlanned": "2023-02-09T08:52:00Z",
"departureTimeBaseTimetable": "2023-02-09T08:52:00Z",
"departureTimeEstimated": "2023-02-09T08:50:00Z",
"transportation": {
"number": null,
"description": "Forestside - City Centre"
}
},
I'm wanting to create an array of the three item values. (It returns three values of each) eg.
departureTimePlanned[0]
departureTimePlanned[1]
departureTimePlanned[2]
departureTimeBaseTimetable[0]
departureTimeBaseTimetable[1]
departureTimeBaseTimetable[2]
departureTimeEstimated[0]
departureTimeEstimated[1]
departureTimeEstimated[2]
Then display a chosen value on my display.
"stopEvents": [
{
"departureTimePlanned": "2023-02-09T08:52:00Z",
"departureTimeBaseTimetable": "2023-02-09T08:52:00Z",
"departureTimeEstimated": "2023-02-09T08:50:00Z",
"transportation": {
"number": null,
"description": "Forestside - City Centre"
}
},
I'm wanting to create an array of the three item values. (It returns three values of each) eg.
departureTimePlanned[0]
departureTimePlanned[1]
departureTimePlanned[2]
departureTimeBaseTimetable[0]
departureTimeBaseTimetable[1]
departureTimeBaseTimetable[2]
departureTimeEstimated[0]
departureTimeEstimated[1]
departureTimeEstimated[2]
Then display a chosen value on my display.
Gareth C.
100% (5)Projects Completed
2
Freelancers worked with
2
Projects awarded
18%
Last project
14 Feb 2023
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies