lukepighetti / mastodon_dart

Unofficial 🐘 client written in 🎯
https://pub.dev/packages/mastodon_dart
MIT License
28 stars 8 forks source link

Add streaming API #1

Closed lukepighetti closed 4 years ago

lukepighetti commented 5 years ago

https://docs.joinmastodon.org/api/streaming/#get-api-v1-streaming-user

lukepighetti commented 5 years ago

After this is done we will probably need aggregation/paginating bloc classes to merge REST + streaming API into a robust timeline.

Binance has a short explanation of how this sort of business logic usually works. Its not yet clear how applicable this method is to Mastodon: https://github.com/binance-exchange/binance-official-api-docs/blob/master/web-socket-streams.md#how-to-manage-a-local-order-book-correctly