Answer the question
In order to leave comments, you need to log in
Sampling from JSON in Python, how to implement?
Hello!
There is a url that produces JSON, from which I pull information.
The problem is that I only pull the first values (the system displays the flight schedule). It is necessary to pass and display all flights of their value.
Now (for example):
Flight: 1
Start time: 10
End time: 20
And that's it. And you need to do this:
Flight: 1
Start time: 10
End time: 20
...... flights ......
Flight: 12
Start time: 10
End time: 20
, etc.
How to implement? Tell me please.
I am attaching screenshots of the file from where I get it.
Answer the question
In order to leave comments, you need to log in
Again, ignoramuses got it, to work with JSON, you just need to know the basics of python - working with data structures list (list) and dict (dictionary)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question