root swu SignPuddle 3 SWU API https://signpuddle.com/server line > v3.0.0 group swu Resources related to Formal SignWriting in ASCII (SWU) line + Source: [ApiTxt format](../src/swu.txt) and [JSON objects](../src/swu.json) line + Documents: [API Blueprint](../doc/swu.md) and [Stand Alone HTML](../doc/swu.htm) line + Live Page: [API Interface](../api/swu.html) and [JavaScript](../api/swu.js) route /swu{?text,style} SWU Word parameter text 𝠀񆄱񈠣񍉡𝠃𝤛𝤵񍉡𝣴𝣵񆄱𝤌𝤆񈠣𝤉𝤚 string The name of sign parameter style 1 number Flag to include styling string method GET first SWU string code $timein = microtime(true); code $swu = SignWriting\swu($text,$style); code $searchTime = searchtime($timein); code header("Search-Time: " . $searchTime); code echo $swu; request one Formal SignWriting in ASCII string response 200 text/plain;charset=utf-8 body 𝠀񆄱񈠣񍉡𝠃𝤛𝤵񍉡𝣴𝣵񆄱𝤌𝤆񈠣𝤉𝤚 route /swu/all{?text,style} SWU Text parameter text 𝠀񆄱񈠣񍉡𝠃𝤛𝤵񍉡𝣴𝣵񆄱𝤌𝤆񈠣𝤉𝤚 string The name of sign parameter style 1 number Flag to include styling string method GET all SWU strings code $timein = microtime(true); code $swu = SignWriting\swuAll($text,$style); code $searchTime = searchtime($timein); code header("Search-Time: " . $searchTime); code echo $swu; request many Formal SignWriting in ASCII string response 200 text/plain;charset=utf-8 body 𝠀񆄱񈠣񍉡𝠃𝤛𝤵񍉡𝣴𝣵񆄱𝤌𝤆񈠣𝤉𝤚 route /swu/fsw{?text} SWU to FSW parameter text 𝠀񆄱񈠣񍉡𝠃𝤛𝤵񍉡𝣴𝣵񆄱𝤌𝤆񈠣𝤉𝤚 string The name of sign method GET text with SWU strings code $timein = microtime(true); code $fsw = SignWriting\swu2fsw($text); code $searchTime = searchtime($timein); code header("Search-Time: " . $searchTime); code echo $fsw; request original text with Formal SignWriting in ASCII inside response 200 text/plain;charset=utf-8 body 𝠀񆄱񈠣񍉡𝠃𝤛𝤵񍉡𝣴𝣵񆄱𝤌𝤆񈠣𝤉𝤚 route /swu/svg/{text} SVG image line Create a stand-alone SVG image using Formal SignWriting in ASCII (SWU) parameter text 𝠀񆄱񈠣񍉡𝠃𝤛𝤵񍉡𝣴𝣵񆄱𝤌𝤆񈠣𝤉𝤚 string The name of sign method GET retrieve stand-alone SVG image code $timein = microtime(true); code $req = $app->request(); code if ($req->get('throwStatus')=='500') {haltNoDatabase();} code $svg = SignWriting\svg($text); code $searchTime = searchtime($timein); code header("Search-Time: " . $searchTime); code echo $svg; request collection text response 200 image/svg+xml;charset=utf-8 body body 𝠀񆄱񈠣񍉡𝠃𝤛𝤵񍉡𝣴𝣵񆄱𝤌𝤆񈠣𝤉𝤚 body body body body route /swu/svg/font/{text} SVG with font line Create an SVG with font using Formal SignWriting in ASCII (SWU) parameter text 𝠀񆄱񈠣񍉡𝠃𝤛𝤵񍉡𝣴𝣵񆄱𝤌𝤆񈠣𝤉𝤚 string The name of sign method GET retrieve SVG with font code $timein = microtime(true); code $req = $app->request(); code if ($req->get('throwStatus')=='500') {haltNoDatabase();} code $svg = SignWriting\svg($text,true); code $searchTime = searchtime($timein); code header("Search-Time: " . $searchTime); code echo $svg; request collection text response 200 image/svg+xml;charset=utf-8 body body 𝠀񆄱񈠣񍉡𝠃𝤛𝤵񍉡𝣴𝣵񆄱𝤌𝤆񈠣𝤉𝤚 body 􋛩󻛩 body 􀀒󰀒 body 􋚥󻚥 body 􀀚󰀚 body