A quite simple and easy to use tweet library
Project description
simple tweet library
A quite simple and easy to use twitter library.
How To Install
pip install simpletweetlib
How To Use
Sample Code
from simpletweetlib.tweet import Tweet
consumer_key = "foobar"
consumer_secret = "foobar"
access_token = "foobar"
access_token_secret = "foobar"
t = Tweet(consumer_key, consumer_secret, access_token, access_token_secret)
t.tweet("Hello World!")
What is consumer_key, consumer_secret, access_token_secret and access_token?
- Following the twitter document.
- Creating an app in the website.
- Getting 4 keys in
Keys and Token
pages of the website. - Replacing "foobar" in sample code to the keys.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simpletweetlib-0.0.1.tar.gz
(1.8 kB
view details)
Built Distribution
File details
Details for the file simpletweetlib-0.0.1.tar.gz
.
File metadata
- Download URL: simpletweetlib-0.0.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 316d603e37772a447a2e3b8e52a6b16e642e0cb90c2c34773965d972193f8e58 |
|
MD5 | ea2e2805b045779cd457b97bbbcfa644 |
|
BLAKE2b-256 | ba867b5f7722338258a5c7a32e1c714f7269b8da47a710432625523f9354392b |
File details
Details for the file simpletweetlib-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: simpletweetlib-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a2400b7f5633096100bdb43a9acc7e60a1f095179b5c06b4f853f638ddafe1b |
|
MD5 | e376872b5afc7c0165c64cfbb61b319d |
|
BLAKE2b-256 | 112d8e611569b614af862baa1e7d3a0572f00b99f2cfcd75d91cae2372dc05d8 |