from gcore import Gcore
client = Gcore(
api_key="My API Key",
)
waap_api_scan_result = client.waap.domains.api_discovery.get_scan_result(
scan_id="scan_id",
domain_id=1,
)
print(waap_api_scan_result.id)
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"status": "SUCCESS",
"type": "TRAFFIC_SCAN",
"message": "<string>"
}
from gcore import Gcore
client = Gcore(
api_key="My API Key",
)
waap_api_scan_result = client.waap.domains.api_discovery.get_scan_result(
scan_id="scan_id",
domain_id=1,
)
print(waap_api_scan_result.id)
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"start_time": "2023-11-07T05:31:56Z",
"end_time": "2023-11-07T05:31:56Z",
"status": "SUCCESS",
"type": "TRAFFIC_SCAN",
"message": "<string>"
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
The domain ID
x > 0
The scan ID
Successful Response
The result of a scan
Was this page helpful?