Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jack-Cherish/python-spider
/ hero_weapon
Function
hero_weapon
hero.py:135–138 ·
view source on GitHub ↗
(url, header)
Source
from the content-addressed store, hash-verified
133
2017-08-07
134
""
"
135
def
hero_weapon(url, header):
136
req = requests.get(url = url, headers = header).json()
137
weapon_info_dict = req[
'list'
]
138
return
weapon_info_dict
139
140
141
if
__name__ ==
'__main__'
:
Callers
1
hero.py
File · 0.85
Calls
1
get
Method · 0.45
Tested by
no test coverage detected