MCPcopy Create free account
hub / github.com/LumingMelody/JS_reverse / requestUID

Function requestUID

twitter.py:128–134  ·  view source on GitHub ↗
(username)

Source from the content-addressed store, hash-verified

126
127
128def requestUID(username):
129 twn = TwitterUserByScreenName()
130 get_user_url = twn.get_url(username=username)
131 headers = twn.get_headers(username=username)
132 user_response = requests.get(url=get_user_url, headers=headers, verify=False, proxies=proxies)
133 user_rest_id = user_response.json()['data']['user']['result']['rest_id']
134 return user_rest_id
135
136
137def requestTW(user_rest_id, username, cursor=None):

Callers

nothing calls this directly

Calls 3

get_urlMethod · 0.95
get_headersMethod · 0.80

Tested by

no test coverage detected