NablaFlow's API talks GraphQL.
Please consult the documentation.
Third-party clients can access the API on behalf of existing NablaFlow users. In short, a user must first register with us and then connect their account inside your application via a typical OAuth2 authorization code flow.
In order to integrate with NablaFlow's API you need to be in possess of a CLIENT_ID and a CLIENT_SECRET, used to perform the OAuth2 authentication code flow.
It's not possible to create a client and submit it for approval yet, so if you are interested, please get in touch with us. We're working to add this feature soon.
CLIENT_IDandCLIENT_SECRET.- A valid account at https://account.nablaflow.io
- direnv
- oauth2c
- nodejs 18 or 20
- yarn
cp .env.example .envand fill outCLIENT_IDandCLIENT_SECRET.- Run
./get_access_token.shto perform the OAuth2 authentication code flow. Follow instructions. - Copy the access token from oauth2c into
.env, asACCESS_TOKEN=.... yarn installyarn run codegen- Edit
examples/archiwind/get_simulation_v1.tsand fill in simulation id and token node esbuild.jsnode dist/archiwind/get_simulation_v1.js
There are many examples in the examples folder.