Skip to main content

This library allow to do automatisation actions like, share and comment on Twitter

Project description

PACKAGE - TWITTER-AUTOMATE

But

Ce packages permet d'automatiser les tâches de like, partage et commentaire sur Twitter.

Pour importer

from bot_twitter import automate_twitter as at

Fonctions

  • twitter_auth_api(self):

    This function allow to authentificate on Twitter API

  • twitter_auth_client(self):

    This function allow to authentificate on Twitter Client

  • twitter_get_last_post(self, user_api: twitter_auth_api, pseudo_twitter: str):

    This function return a dictionary contain id of last tweet and date creation

  • twitter_get_posts(self, user_api: twitter_auth_api, pseudo_twitter: str, nb_tweet: int):

    This function return last tweets in function value of variable 'nb_tweet'

  • twitter_like (self, user_client: twitter_auth_client, id_post: str):

    This function allow to like a tweet

  • twitter_retweet(self, user_client: twitter_auth_client, id_post: str):

    This function allow to retweet a tweet

  • twitter_comment(self, user_client: twitter_auth_client, id_post: str, text_comment: str):

    This function allow to comment a tweet

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twitter_automate-1.0.3.tar.gz (4.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page