@looker/run-it
TypeScript icon, indicating that this package has built-in type declarations

0.9.70 • Public • Published

RunIt

RunIt is a React-based specification-driven REST API request tester.

Looker's API Explorer uses the RunIt package for testing API endpoints.

A configuration provider interface enables RunIt to work both in the Looker Extension Framework runtime environment and as a stand-alone browser application.

OAuth and CORS are used to authenticate and submit REST requests for the stand-alone version.

RunIt tabs

The RunIt component has multiple tabs:

Request

The Request tab displays a form for entering inputs to the chosen REST API endpoint

Response

API responses are displayed on this tab. Support for rendering a variety of API response types like as JSON, CSV, Markdown, JPEG, HTML, PNG, and SQL are supported.

SDK Call

The language SDK calling syntax provided by the Looker codegen project (also in this repository) is shown on this tab.

Performance

Only for the stand-alone version, some performance information for HTTP request and response processing is shown here.

Configuration

Only for the stand-alone version, this tab is used to configure the OAuth server for API request tokens.

Using RunIt

See the stand-alone API Explorer and the extension version of API Explorer for reference implementations.

Readme

Keywords

none

Package Sidebar

Install

npm i @looker/run-it

Weekly Downloads

1

Version

0.9.70

License

MIT

Unpacked Size

847 kB

Total Files

236

Last publish

Collaborators

  • drstrangelooker
  • guyellis
  • looker-ops
  • scullin
  • jkaster
  • looker-open-source
  • fabio-looker
  • bryans99
  • mdodgelooker
  • dbchristopher
  • google-wombot