The Get Job Status endpoint allows you to determine whether a job has completed. Once it has successfully finished, you can then retrieved results with the Get Results endpoint. Data should be posted as a JSON request document.

censys_get_job_status(job_id)

Arguments

job_id
Censys job id (from calling censys_query())

Value

API call result (invisibly)

Details

You must have both CENSYS_API_ID and CENSYS_API_SECRET present in the R environment for the functions in this package to work. It is highly suggested that you place those in ~/.Renviron at least for interactive work.

References

Censys SQL query syntax: https://censys.io/query; API doc: https://www.censys.io/api/v1/docs/search

Examples

## Not run: ------------------------------------ # q <- censys_query("SELECT p443.https.tls.cipher_suite.name, count(ip) FROM ipv4 # WHERE p443.https.tls.validation.browser_trusted=true # GROUP BY p443.https.tls.cipher_suite.name;") # censys_get_job_status(q$job_id) # censys_get_job_result(q$job_id) ## ---------------------------------------------