currently twitter.py has both auth and client. It's important to note in the currently implementation of the Twitter API - you will need both is loading an image but only client if you are just sending a text tweet.
Should this project be responsible for the auth points and pass them into tweepy or should we enforce the user adding tweepy and their auth + client to the project?
Possible Solutions
Make Auth a class that can output to both the client and auth as needed.
currently
twitter.py
has bothauth
andclient
. It's important to note in the currently implementation of the Twitter API - you will need both is loading an image but only client if you are just sending a text tweet.Should this project be responsible for the auth points and pass them into tweepy or should we enforce the user adding tweepy and their auth + client to the project?
Possible Solutions
Make Auth a class that can output to both the client and auth as needed.
https://github.com/kjaymiller/Az-Queue-Tweeter/blob/e5906b0a77160e92d08dfdd2269beae79b4b43f3/src/twitter.py#L6-L28