MCPcopy
hub / github.com/Blizzard/s2client-proto / get_meta_file_info

Function get_meta_file_info

samples/replay-api/download_replays.py:56–63  ·  view source on GitHub ↗
(access_token, url)

Source from the content-addressed store, hash-verified

54
55
56def get_meta_file_info(access_token, url):
57 headers = { "Authorization": "Bearer " + access_token}
58 params = {
59 'namespace' : API_NAMESPACE,
60 }
61
62 response = requests.get(url, headers=headers, params=params)
63 return json.loads(response.text)
64
65
66def download_file(url, output_dir):

Callers 1

get_replay_packFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected