Software Development

The Software Development toolbox calls web APIs. Web API Client builds URLs and query parameters, assembles headers (API keys, bearer tokens), sends GET and POST requests, downloads text, bytes, images and files, queries JSON in the answer, and stress-tests an endpoint. It can also write the same request as code: Generate C Sharp, Generate Curl, Generate Javascript and Generate Python. The Export Helper nodes give HTML templates for exporting charts and Markdown.

Use it to try an API before you write code for it, or to fetch data from a service in a graph.

  • Included in: Divooka Explore and Divooka Compute Standard. In Compute, start a document from the Web Development workload, or add the Web Applications reference with Add reference (Ctrl+Shift+L). The Web Applications reference holds Ol'ista's part of Application Framework, Web Pages and Software Development.
  • Maturity: Preview · Support: Tier 2 (proposed) · what these mean
  • Open it: node library (Ctrl+Shift+Space) → Software Development, or search for a node with Ctrl+Space.
  • Reference: Software Development node reference

New to graphs? Start with Your first program.

Example: call your own web API

In Web Development > Serving a Web API (Ctrl+Shift+E), Get Text calls the endpoint the example serves and returns the reply: Hello, Divooka! This reply was made by a Divooka graph. See the walkthrough on the Application Framework page.

To call a public API: give Get Text the URL; add headers with Custom Header or Bearer Token for services that need a key.

Tips and limits

  • For tables from an API, Query CSV API and Query JSON API in Data Analytics read the answer straight into a table.
  • Keep keys out of the document. Read them from environment variables with Get Environment Variable in Operating System.

What is in the toolbox

Category Some of its nodes
Web API Client Accepts, Assemble Header, Bearer Token, Create Parameters and 26 more
Export Helper Export Clean Chart HTML, Get Clean HTML Export Template, Get Html5empty Template, Get Markdown Converted HTML Template
WebAPIYamlBodies To JSON

See also