MCPcopy Create free account
hub / github.com/achillean/shodan-python / main

Function main

shodan/cli/worldmap.py:250–256  ·  view source on GitHub ↗

Main function / entry point

(argv=None)

Source from the content-addressed store, hash-verified

248
249
250def main(argv=None):
251 """ Main function / entry point """
252 from shodan import Shodan
253 from shodan.cli.helpers import get_api_key
254
255 api = Shodan(get_api_key())
256 return launch_map(api)
257
258
259if __name__ == '__main__':

Callers 1

worldmap.pyFile · 0.70

Calls 3

ShodanClass · 0.90
get_api_keyFunction · 0.90
launch_mapFunction · 0.85

Tested by

no test coverage detected