Simplifing Twitter APIs.
Project description
Easy-Twitter
Simplifying Twitter APIs by leveraging tweepy library
Prerequisites
- Twitter developer account. For registration
- Pandas library
# terminal
pip install pandas
# python
import pandas
- Tweepy library
# terminal
pip install tweepy
# python
import tweepy
Installation
# terminal
pip install easytwitter
Usage
- Import module
# to access all the functions
from easytwitter import *
- First establish the connection
# you need to enter your twitter tokens
# consumer_key = "xxxxxxxxxxxxxxxxxxxx"
# consumer_secret = "xxxxxxxxxxxxxxxxxxxxxxx"
# access_token = "xxxxxxxxxxxxxxxxxxxxxx"
# access_token_secret = "xxxxxxxxxxxxxxxxxxxxxxx"
user.connect_me()
API Reference
get_user_timeline()
Returns the 20 most recent statuses posted from the specified user as a dataframe. To interact with the dataframe, you should store the returned value.
df = user.get_user_timeline()
df.head()
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
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
easytwitter-0.1.0.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for easytwitter-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 652e939d4d609cfa952ae30efbf3fc714664a83db98cd2f339db2d7673232984 |
|
MD5 | 084318af777b8be95e37b2cfcd633516 |
|
BLAKE2b-256 | 38e4baea36ac28f325b8a7a7428614b9695cb41f5ed3b82c0f291c8d6db812f2 |