onflow / flow-go-sdk

Tools for building Go applications on Flow :ocean:
https://onflow.org
Apache License 2.0
210 stars 86 forks source link

HTTP API Implementation #249

Closed sideninja closed 2 years ago

sideninja commented 2 years ago

Our new access nodes will support HTTP API in addition to the gRPC API. We believe it would be beneficial if all SDKs will support the HTTP API as well. This is a feature request for supporting the new API.

The Open API specification can be found here: https://github.com/onflow/flow/tree/master/openapi And the documentation can be found: https://docs.onflow.org/http-api/

The new HTTP API is available on testnet (https://rest-testnet.onflow.org/v1/) and mainnet (https://rest-mainnet.onflow.org/v1/).

DoD:

sideninja commented 2 years ago

Working on implementing the feedback. Renaming the package from client to access requires changes in flow-go as well, so the work is in progress and tracked here https://github.com/onflow/flow-go/issues/2347

sideninja commented 2 years ago

Waiting for the PR to be approved. Ping @psiemens as the last needed approval.

sideninja commented 2 years ago

All the suggestions implemented:

sideninja commented 2 years ago

Done https://github.com/onflow/flow-go-sdk/releases/tag/v0.25.0