MarshalX / atproto

The AT Protocol (🦋 Bluesky) SDK for Python 🐍
https://atproto.blue
MIT License
278 stars 30 forks source link

Subscribing to feed? #282

Closed lokxii closed 6 months ago

lokxii commented 6 months ago

There are examples to subscribe firehose and process events. Is there anyway to subscribe to a feed instead? Are there any docs / example showing how to do so?

MarshalX commented 6 months ago

Hi, check this https://www.docs.bsky.app/docs/tutorials/viewing-feeds#feed-generators. Press on the "Python" tab to see examples

lokxii commented 6 months ago

I was expecting hooking a callback to a firehose client variation just like in this example: https://github.com/MarshalX/atproto/blob/main/examples/firehose/process_commits.py

MarshalX commented 6 months ago

No custom feeds doesn't create events in firehose. This is not possible to subscribe to updates. Custom feeds are independent services out of PDS

lokxii commented 6 months ago

Thx for the reply! I guess I have rethink how my project is going to work