WebhooksClient
Class Bases: object Client for webhooks operationsConstructors
__init__
Parameters
create
Create webhook
Creates a new webhook configuration.
body: Request body
:returns: Response data
:rtype: CreateResponse
Parameters
create_stream_link
Create stream link
Creates a link to deliver FilteredStream events to the given webhook.
Parameters
The webhook ID to link to your FilteredStream ruleset.
A comma separated list of Tweet fields to display.
A comma separated list of fields to expand.
A comma separated list of Media fields to display.
A comma separated list of Poll fields to display.
A comma separated list of User fields to display.
A comma separated list of Place fields to display.
Returns
CreateStreamLinkResponse - Response data
delete
Delete webhook
Deletes an existing webhook configuration.
Parameters
The ID of the webhook to delete.
Returns
DeleteResponse - Response data
delete_stream_link
Delete stream link
Deletes a link from FilteredStream events to the given webhook.
Parameters
The webhook ID to link to your FilteredStream ruleset.
Returns
DeleteStreamLinkResponse - Response data
get
Get webhook
Get a list of webhook configs associated with a client app.
Parameters
A comma separated list of WebhookConfig fields to display.
Returns
GetResponse - Response data
get_stream_links
Get stream links
Get a list of webhook links associated with a filtered stream ruleset.
:returns: Response data
:rtype: GetStreamLinksResponse
Returns
GetStreamLinksResponse
validate
Validate webhook
Triggers a CRC check for a given webhook.
Parameters
The ID of the webhook to check.
Returns
ValidateResponse - Response data