Classes

Classes module. These are objects goldfinchsong uses to keep state and perform business logic.

class goldfinchsong.classes.Manager(credentials=None, image_directory=None, text_conversions=None)

Manages tweet posting through twitter API.

content

tuple

The class expects a tuple with a file name string and status text string.

api

A tweepy API instance.

post_tweet()

Attempts tweet status post with image.

Returns:A content tuple with image path and status text.
Return type:tuple
Raises:Exception – Raises exception if content property is None.