Debian Codegraph @

examples/search/search_client.py

raw
1 """Example using SearchClient."""
2
3 from censys.search import SearchClient
4
5 c = SearchClient()
6
7 # v2 indexes
8 hosts = c.v2.hosts # Same as hosts = CensysHosts()
9
10 certs = c.v2.certificates # Same as certs = CensysCerts()
11
12 # v1 indexes
13 data = c.v1.data # Same as data = CensysData()