davecheney/pub

Missing trends api

Opened this issue ยท 3 comments

erka commented

Hey Dave. ๐Ÿ‘‹

It looks like pub doesn't have trends endpoints.

Request sample:

GET /api/v1/trends/statuses HTTP/1.1
User-Agent: Mastodon/224 CFNetwork/1335.0.3 Darwin/21.6.0
....

Response sample:

HTTP/1.1 404 Not Found
Content-Type: text/plain; charset=utf-8
X-Content-Type-Options: nosniff
Date: Tue, 24 Jan 2023 20:14:42 GMT
Content-Length: 19

404 page not found

The official documentation about it https://docs.joinmastodon.org/methods/trends/

Yup, not done yet. Its on my list

erka commented

@davecheney is streaming API on your list too?

Reference: https://docs.joinmastodon.org/methods/streaming/

Absolutely, and probably higher up the list. I have a plan on how to hook into the stream of events being written to the database; I just need the $dayjob to not page me for a hot minute and Iโ€™ll have a crack at it