Skip to content

feat: read content decay, posting cadence, post timelines and native posts - #27

Merged
alihesari merged 2 commits into
mainfrom
feature/deeper-analytics
Oct 4, 2026
Merged

alihesari merged 2 commits into
mainfrom
feature/deeper-analytics

Conversation

@alihesari

Copy link
Copy Markdown
Member

Adds the six deeper analytics endpoints from fopost/fopost#1030 to this client.

Method Endpoint
content decay GET /v1/analytics/decay
posting cadence GET /v1/analytics/frequency
post timeline GET /v1/analytics/posts/:id/timeline
changes cursor GET /v1/analytics/changes?since=
refresh one post POST /v1/posts/:id/analytics/collect
posts made outside FoPost GET /v1/accounts/:id/native-posts

A post is addressed by its FoPost id or by its permalink, URL-encoded into the path segment, so a post made by hand on the network works through the same method.

Models, a worked README section, and one test per endpoint pinning the path, the query casing and the response shape. The suite and the linters pass locally.

Merge after the API (fopost/fopost#1030), since the endpoints do not exist until it deploys.

@alihesari
alihesari merged commit 69ae325 into main Oct 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant