B
B
Beatraid2017-06-14 20:55:40
Python
Beatraid, 2017-06-14 20:55:40

How to read some data from JSON and not the whole file in Python?

Using the Twitter API, upon some request, I download tweets, which I save in JSON format. But it is everything related to the tweet itself, from time to location, all photos, all videos. How to select only one text from this array of attributes to display?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Bushmanov, 2017-09-01
@assanti

At least for the corresponding key.
JSON then attach.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question