Skip to main content

twitterbot to search hashtags

Project description

Build Status

Twitter Bot

twitter bot

  • delete tweets
  • get trending tweets

Install

pip install salahs-twitterbot[scripts]

Twitter API

  • create a new twitter application
  • save consumer key, consumer secret, access key and access secret as environment variables
cat <<EOF > keys.env
export TWITTER_CONSUMER_KEY='aaaaaaaaaaaaaaaaaaaaaaaaa'
export TWITTER_CONSUMER_SECRET='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
export TWITTER_ACCESS_TOKEN='aaaaaaaaaa-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
export TWITTER_ACCESS_TOKEN_SECRET='aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
EOF
source keys.env
  • delete_old_tweets --help
  • get_trending_tweets --help
  • remove_favorites --help

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

salahs-twitterbot-1.2.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

salahs_twitterbot-1.2.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file salahs-twitterbot-1.2.1.tar.gz.

File metadata

  • Download URL: salahs-twitterbot-1.2.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.1

File hashes

Hashes for salahs-twitterbot-1.2.1.tar.gz
Algorithm Hash digest
SHA256 38f3da3c4f767c5c77d713512885b7a7b6fdd23e61352ea17e92e455410981a2
MD5 f41b7a8295b0faf5a2f1cce4597770b6
BLAKE2b-256 88729a2a459172999a343b20e7cb492e4de5fd495d8f78e3e8b7fd170caa4f72

See more details on using hashes here.

File details

Details for the file salahs_twitterbot-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: salahs_twitterbot-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.1

File hashes

Hashes for salahs_twitterbot-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 af4a567a64b4d20722042110c80551c59ea609d1ca3c57ea5d03e476dc396aad
MD5 a1742c755bb11b5b069641e9298744dd
BLAKE2b-256 7f62a83d5b10bc529d8928d78563744e48a32e1c937461ee5847eb67668769ad

See more details on using hashes here.

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