farcaster-py
farcaster-py copied to clipboard
Support Hubs
🚀 Feature Request
Support hubs, and make the user experience as close to the traditional Warpcast API experience as possible.
🔈 Motivation
The Warpcast API is being deprecated at the end of the year.
📎 Additional context
Hubs use protobuf, so to interface with them we must generate protobuf types for each request/response and message type.
This makes the user experience a lot worse in Python, so we will need to create helper classes and functions that abstract away as much of the overhead as possible.
Initial work can be found here: #518
Progress:
- [x] Create initial
Hub
client class - [x] Add generated protobuf classes
- [x] Implement initial tests and Proof of Concept
- [ ] Support every message type in the Hubble protocol
- [ ] Create helper methods and classes to abstract away nuance of protobuf
- [ ] Explore strong typing for request/response and message types
- [ ] Write unit tests and integration tests for all hub endpoints and helper functions