Main Functions
get_substack_latest()
Fetches the latest posts.
latest_posts <- get_substack_latest(
publication_url = "posocap.substack.com",
limit = 10,
offset = 0
)Returns a data frame with columns:
- slug
- url
- title
- description
- excerpt
- body_html
- reading_time_minutes
- audio_url
- date
- likes
- paywall
- cover_image
- cover_image_color_palette
- author
- author_image
get_substack_top()
Fetches the top (most liked) posts.
get_substack_search()
Searches posts by keyword.