import tweepy
class InitTweepy:

    def __init__(self):
        consumer_key = 'msGHNyOrL3JMHVW8LJqo7qiql'
        consumer_secret = 'CdyLn42TEbNMiwLK6mGbXBq4O4dyvtz6Jt1FdIHpM7IJm1uLbW'
        access_token = '716039483037257728-UnxLEVPC4aYBp0UzPQQloXqwc4k0sTy'
        access_token_secret = 'OokAlMSd7uh0CEDRqLlfGmuOLZgncyK1lUfaSzFqWW4m1'

        auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
        auth.set_access_token(access_token, access_token_secret)

        self.api = tweepy.API(auth)

    def get_api(self):
        return self.api
