James Gardner: Home > Work > Code > RecordAPI > 0.1.1 > Manual

RecordAPI v0.1.1 documentation

Manual

This is Flows extension which allows you to expose a JSON-RPC style API to your application and then access it using an APIService object.

See the Flows documentation for information on how to use extensions. Here’s the code you need:

from recordapi.ext import make_component

on_load_component = make_component('api')

The extensions can be configured to support JSON-P or JSON.

As for the service you cán use RemoteAPI for using a remote service over JSON or a LocalAPI service to call the functions directly.

James Gardner: Home > Work > Code > RecordAPI > 0.1.1 > Manual