<commit_before><commit_msg>inital commit<commit_after>import oauth2 as oauth
import time

#API
url = https://api.twitter.com/1.1/search/tweets.json

params = {
    'oauth_version': "1.0",
    'oauth_nonce': oauth.generate_nonce(),
    'oauth_timestamp': int(time.time())
    'user': 'joestump'
}

token = oauth.Token(key="tok-test-key", secret="tok-test-secret")
consumer = oauth.Consumer(key="con-test-key", secret="con-test-secret")

# Set our token/key parameters
params['oauth_token'] = tok.key
params['oauth_consumer_key'] = con.key

req = oauth.Request(method="GET", url=url, parameters=params)
{'fraction_non_alphanumeric': 0.17166666666666666, 'fraction_numerical': 0.008333333333333333, 'mean_word_length': 5.3936170212765955, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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}}
{'dir': 'git-commits-cleaned', 'id': '5645204', 'n_tokens_mistral': 222, 'n_tokens_neox': 219, 'n_words': 37}