Edit on GitHub

datasources.twitterv2

Initialize Twitter API v2 data source

 1"""
 2Initialize Twitter API v2 data source
 3"""
 4
 5# An init_datasource function is expected to be available to initialize this
 6# data source. A default function that does this is available from the
 7# backend helpers library.
 8from common.lib.helpers import init_datasource
 9
10# Internal identifier for this data source
11DATASOURCE = "twitterv2"
12NAME = "X/Twitter API (v2) Search"
DATASOURCE = 'twitterv2'
NAME = 'X/Twitter API (v2) Search'