substack-api
substack-api copied to clipboard
Substack API client is a modern TypeScript library provides a clean, entity-based interface to interact with Substack publications, posts, comments, and user profiles.
feat: flexible cookie auth (substack.sid and/or connect.sid), markdown notes, retries, note deletion
> Supersedes #322, which was closed accidentally during a head-branch rename on the fork. ## Summary This PR contributes the **substackular** continuation of this library back upstream. It sits directly...
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.39.4 to 10.0.1. Release notes Sourced from @eslint/js's releases. v10.0.1 Bug Fixes c87d5bd fix: update eslint (#20531) (renovate[bot]) d841001 fix: update minimatch to 10.2.1 to address security...
When I try to use createPost like in the example, it doesn’t seem to be available. How can I use it? const published = await myProfile.createPost({ title: 'Quick Update from...
Is there an explanation of the substack-gateway somewhere? I don't understand what this is. Is this owned by Substack or is it run by someone maintaining this project? Is there...
While following the documentation steps to configure my Substack credentials: > Copy the values of `substack.sid` and `connect.sid`. I can no longer find `connect.sid` among the cookies, only `substack.sid`. Am...
**Describe the bug** When a profile has no profile picture, the API returns `photo_url === null`, and it triggers this error: ``` Invalid Full profile response: Invalid value null supplied...
**Is your feature request related to a problem? Please describe.** The package currently does not allow sending messages to a Substack newsletter chat, which prevents interacting with subscribers through this...
const publishedNote = await profile .newNote() .paragraph() .text(noteText) .publish(); returns a 403 even if connecting and so on works ok.
**Is your feature request related to a problem? Please describe.** Thank you for making this package. My use case is an SDK to read content from public posts as an...
In the docs, https://github.com/jakub-k-slys/substack-api/blob/main/docs/examples.md, it demonstrates a `createNote` that does not appear to exist, but that seems far more useful than the other not method which ultimately ends up being...