Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please support Swift SDK #413

Open
longseespace opened this issue Jul 26, 2024 · 2 comments
Open

Please support Swift SDK #413

longseespace opened this issue Jul 26, 2024 · 2 comments
Labels
feature New feature or request sdk Improvements or additions to SDKs

Comments

@longseespace
Copy link

Is your feature request related to a problem? Please describe.
I want to use E2B from a native macOS application

Describe the solution you'd like
A native E2B Swift SDK similar to the Python & JS SDK

Describe alternatives you've considered
An API references on how to implement a new SDK

Additional context
N/A

@longseespace longseespace added the feature New feature or request label Jul 26, 2024
@ValentaTomas
Copy link
Member

ValentaTomas commented Jul 26, 2024

Hey @longseespace, the communication between our SDK and API+sandboxes is documented in our infra repo:

You can check the reference implementation in TS — https://github.com/e2b-dev/E2B/tree/beta/packages/js-sdk. The protocol we use (https://connectrpc.com/) is a very thin wrapper around HTTP/1.1+protobuffers. It also has a Swift SDK (https://github.com/connectrpc/connect-swift) so generating that part of the SDK should be easy.

All interaction with the sandbox and API can also be done with just HTTP request, but it is way more convenient to use the generated clients, especially for the sandbox interactions.

@ValentaTomas ValentaTomas added the sdk Improvements or additions to SDKs label Jul 26, 2024
@longseespace
Copy link
Author

Awesome. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request sdk Improvements or additions to SDKs
Projects
None yet
Development

No branches or pull requests

2 participants