<jupyter_start><jupyter_text>neils_text = []for x in range(1,5):    api.user_timeline("neiltyson", page=x)    for i in range(len(api.user_timeline("neiltyson"))):        neils_text.append(api.user_timeline("neiltyson")[i]["text"])    neils_text<jupyter_code>testla = []
for x in range(1,5):
    api.search("tesla", rpp=100, page=x)
        for i in range(len(api.search("testla"))):
        neils_text.append(api.search("testla")[i]["text"])
    
tesla
# general loop
for i in range(len(api.search("travis allen")["statuses"])):
    print(api.search("travis allen")["statuses"][i]["created_at"])
    print(api.search("travis allen")["statuses"][i]["text"])
    print("---------------------------------------------")
# page parameter
for x in range(1,5):
    api.search("testla",page=x)
    for i in range(len(api.search("travis allen"))):
        print(api.search("travis allen")["statuses"][i]["created_at"])
        print(api.search("travis allen")["statuses"][i]["text"])
        print("---------------------------------------------")
/api/open/v1/DisasterDeclarationsSummaries
import urllib<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.2624555160142349, 'fraction_numerical': 0.008896797153024912, 'mean_word_length': 3.377431906614786, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '439446', 'license': 'MIT', 'n_tokens_mistral': 398, 'n_tokens_neox': 400, 'n_words': 58, 'path': '18.06.21 - Project1/Archive (Delete)/Candidate - Copy.ipynb', 'repo_name': 'Reuben-Quinto/3_homework_submissions', 'size': '1124'}