def __user_agent(self): python_verison = "{0}.{1}".format(sys.version_info.major, sys.version_info.minor) return 'twitter-ads version: {0} platform: Python {1} ({2}/{3})'.format( get_version(), python_verison, platform.python_implementation(), sys.platform)
# Copyright (C) 2015 Twitter, Inc. VERSION = (6, 0, 0) API_VERSION = '6' from twitter_ads.utils import get_version __version__ = get_version()
# Copyright (C) 2015 Twitter, Inc. VERSION = (0, 1, 0) from twitter_ads.utils import get_version __version__ = get_version()
# The encoding of source files. # source_encoding = 'utf-8-sig' # The master toctree document. master_doc = "index" # General information about the project. project = u"Twitter Ads API SDK for Python" copyright = u"2015, Twitter, Inc" author = u"Brandon Black" sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..")) from twitter_ads.utils import get_version version = get_version() release = get_version() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: # today = '' # Else, today_fmt is used as the format for a strftime call. # today_fmt = '%B %d, %Y'
# The encoding of source files. #source_encoding = 'utf-8-sig' # The master toctree document. master_doc = 'index' # General information about the project. project = u'Twitter Ads API SDK for Python' copyright = u'2015, Twitter, Inc' author = u'Brandon Black' sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..')) from twitter_ads.utils import get_version version = get_version() release = get_version() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y'