I tried to think of what would be returned from the download() method but I couldn’t see the return value in the documentation because I thought an object would be returned.
" We follow standard practice in storing full Tweets as line-separated JSON. These data structures can be accessed via tweets.docs() . However, in general it is more practical to focus just on the text field of the Tweets, which are accessed via the strings() method."
Of course we’re doing OOP here, so the first question is “what type of object is twitter_samples”?
Once you know that, you start with the documentation for that class. But then the next level of complexity with the Python version of OOP is that the inheritance hierarchies can be pretty deep and they don’t always document all the inherited methods at every level of the hierarchy. Meaning that you may need to “climb” the inheritance tree to get the answer.