Skip to main content

Create your own twitter bot without the api

Project description

tweetpy

Create your own bot without the api.

Use at your own risk!

Install

pip install tweetpy-janmarkuslanger

Example

import time
from tweetpy import Twitter

hashtags = ('development', 'software', 'selenium', 'python')

while True:
    with Twitter(username='myusername', password='mypassword') as bot:
        bot.login()

        for hashtag in hashtags:
            bot.retweet_by_tag(hashtag, max=10) # retweets the newest hashtags

        time.sleep(3600) # sleep for an hour

Project details


Download files

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

Files for tweetpy-janmarkuslanger, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size tweetpy_janmarkuslanger-0.0.3-py3-none-any.whl (4.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size tweetpy-janmarkuslanger-0.0.3.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page