Fetch replies to my account via the API #1484
-
I want to learn how to fetch replies to my account using a python/bash-curl script and then forward the JSON object to my ntfy.sh mobile app so to have basic notifications, can anyone point out where I should start to have the basic running ? I have glanced over here : https://github.com/MarshalX/atproto/tree/main/examples Maybe this is the best approach to get this : https://github.com/MarshalX/atproto/blob/main/examples/advanced_usage/notifications_callback.py Along with this ressource ? https://atproto.com/lexicons/app-bsky-notification#appbskynotificationlistnotifications |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @rmdes, if you are looking for a Python-specific solution using MarshalX's library, you should probably ask over in the https://github.com/MarshalX/atproto repository directly. In general, yes, the |
Beta Was this translation helpful? Give feedback.
Hi @rmdes, if you are looking for a Python-specific solution using MarshalX's library, you should probably ask over in the https://github.com/MarshalX/atproto repository directly.
In general, yes, the
app.bsky.notification.listNotifications
endpoint on the PDS is used to get all the various kinds of notifications for the account. It requires auth, and can be paginated.