Debian Codegraph @

examples/asm/cloud_host_count.py

raw
1 """Retrieve host counts by cloud since the first day of 2021."""
2
3 from datetime import date
4
5 from censys.asm import Clouds
6
7 c = Clouds()
8
9 count = c.get_host_counts(date(2021, 1, 1))
10 print(count)