ComplianceClient
TheComplianceClient provides methods for managing compliance jobs to retrieve historical data for tweets and users.
get_jobs
Retrieves a list of Compliance Jobs filtered by job type and optional status.Type of Compliance Job to list. Valid values: “tweets” or “users”.
Status of Compliance Job to list. Valid values: “created”, “in_progress”, “complete”, “failed”.
A comma separated list of ComplianceJob fields to display.
Response containing list of compliance jobs.
create_jobs
Creates a new Compliance Job for the specified job type.A request to create a new batch compliance job.
Response containing the created compliance job details.
get_jobs_by_id
Retrieves details of a specific Compliance Job by its ID.The ID of the Compliance Job to retrieve.
A comma separated list of ComplianceJob fields to display.
Response containing the compliance job details, including download URL when complete.