January 30, 2023

Lumen Language: How to create API for Arc?

First, buy api dev function https://arcstore.molz.io/c/api/

Next open program/download in new project, and type example start code:

use arcApi
use arcApi.Logging

function LoadApi(api)
{ 
    if api.ApiLoaded == true then
        pub.Publish("Test!")
    else
        pub.PublishAsError("Hi")
}

You created your api!