Help me understand pro and cons of REST API approach vs gRPC Protobuff client. #292
epheo
started this conversation in
Any-Block & Anytype-Heart
Replies: 1 comment
-
|
hey @epheo, that's cool, thanks for sharing your experimentation with quick context on our API landscape:
your sdk definitely isn't useless, it's such projects we love to see developers create! i'd recommend sticking with rest, which has safeguards in place, whereas the gRPC internals are risky to use. roadmap-wise, we'll extend the REST API with block operations and more advanced search & filtering. also, we're looking into auto-generation of official sdks in other languages. lmk if you have feedback regarding the API, your input is super valuable! :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So I wrote this: https://github.com/epheo/anytype-go as a proof of concept and to start playing with the Anytype API.
But I am now thinking that one would rather use anytype-heart gRPC with Protocol Buffers instead.
My longer term goal here is to have a foundation for developing other projects I have in mind such as:
So I thought I would start with a GoLang SDK with an easy design pattern, but I'm lost now.
Would you:
Maybe @vas3k ?
Merci / many thanks.
Beta Was this translation helpful? Give feedback.
All reactions