pytwot
This project is a fork of the now archived PyTweet
VERY IMPORTANT: This project is approved by the PyTweet devs themselves.
Another note: the support server given is support server for the original PyTweet as this is approved by the devs they requested the support server stay the same
pytwot is a synchronous Python API wrapper for the Twitter API. It is filled with rich features and is very easy to use.
Installation
Windows
py -m pip install pytwot
Linux/MacOS
python3 -m pip install pytwot
Usage
Before using pytwot you have to setup an application here. For a more comfortable experience, you can create an application inside a project. Most endpoints require the client to have read
, write
and direct_messages
app permissions and elevated access type. For more accessibility you can create a dev environment to support events and other premium endpoints. If you have any questions, please open an issue or ask in the official pytwot Discord.
import pytwot
client = pytwot.Client(
"Your Bearer Token Here!!!",
consumer_key="Your consumer key here",
consumer_secret="Your consumer secret here",
access_token="Your access token here",
access_token_secret="Your access token secret here",
)
client.tweet("Hello world, Hello twitter!")
You can check in the examples
directory for more example code.
Links
Contribute
You can Contribute or open an issue regarding pytwot in our GitHub repository!
Licence & Copyright
All files of this repo are protected and licensed with the MIT License, LICENSE File