Client#

class fourinsight.campaigns.Client(session)[source]#

Client interface for the 4insight.io Campaigns.

Parameters:

session (authorized session) – Authorized session instance which appends a valid bearer token to all HTTP calls. Use fourinsight.api.UserSession or fourinsight.api.ClientSession.

get(campaign_id)[source]#

Get the campaign data from the database.

Parameters:

campaign_id (str) – The id of the campaign (GUID).

Returns:

A campaign type specific object containing all relevant information about the campaign.

Return type:

object

overview()[source]#

Overview of all campaigns. List view.