| |
Methods defined here:
- __init__(self, config: bluemastodon.config.BlueskyConfig)
- Initialize the Bluesky client.
Args:
config: Bluesky configuration with credentials
- authenticate(self) -> bool
- Authenticate with the Bluesky API.
Returns:
True if authentication was successful, False otherwise
- ensure_authenticated(self) -> bool
- Check authentication and re-authenticate if needed.
Returns:
True if authenticated, False otherwise
- get_recent_posts(self, hours_back: int = 24, limit: int = 20) -> List[bluemastodon.models.BlueskyPost]
- Get recent posts from the authenticated user.
Args:
hours_back: How many hours to look back
limit: Maximum number of posts to return
Returns:
List of BlueskyPost objects
Raises:
ValueError: If not authenticated
Data descriptors defined here:
- __dict__
- dictionary for instance variables
- __weakref__
- list of weak references to the object
|