root fsw Formal SignWriting in ASCII (FSW) https://signpuddle.com/server
line > v3.0.0
group FSW Resources related to Formal SignWriting in ASCII (FSW)
line + Source: [ApiTxt format](../src/fsw.txt) and [JSON objects](../src/fsw.json)
line + Documents: [API Blueprint](../doc/fsw.md) and [Stand Alone HTML](../doc/fsw.htm)
line + Live Page: [API Interface](../api/fsw.html) and [JavaScript](../api/fsw.js)
route /fsw{?text,style} FSW Word
parameter text AS20310S26b02S33100M521x547S33100482x483S20310506x500S26b02503x520 string The name of sign
parameter style true boolean,optional Flag to include styling string
method GET First FSW string
code $fsw = SignWriting\fsw($text,$style);
code $searchTime = searchtime($timein);
code header("Search-Time: " . $searchTime);
code echo $fsw;
request one Formal SignWriting in ASCII string
response 200 text/plain;charset=utf-8
body AS20310S26b02S33100M521x547S33100482x483S20310506x500S26b02503x520
route /fsw/all{?text,style} FSW Text
parameter text AS20310S26b02S33100M521x547S33100482x483S20310506x500S26b02503x520 string The name of sign
parameter style 1 number Flag to include styling string
method GET All FSW strings
code $fsw = SignWriting\fswAll($text,$style);
code $searchTime = searchtime($timein);
code header("Search-Time: " . $searchTime);
code echo $fsw;
request many Formal SignWriting in ASCII string
response 200 text/plain;charset=utf-8
body AS20310S26b02S33100M521x547S33100482x483S20310506x500S26b02503x520
route /fsw/swu{?text} FSW to SWU
parameter text AS20310S26b02S33100M521x547S33100482x483S20310506x500S26b02503x520 string The name of sign
method GET Text with FSW strings
code $swu = SignWriting\fsw2swu($text);
code $searchTime = searchtime($timein);
code header("Search-Time: " . $searchTime);
code echo $swu;
request SWU conversion of FSW string
line transformation from ASCII to Unicode characters.
response 200 text/plain;charset=utf-8
line requires font SuttonSignWritingOneD
body 𝠀𝠃𝤛𝤵𝣴𝣵𝤌𝤆𝤉𝤚
route /fsw/svg/{text} SVG image
line Create a stand-alone SVG image using Formal SignWriting in ASCII (FSW)
parameter text AS20310S26b02S33100M521x547S33100482x483S20310506x500S26b02503x520 string The name of sign
method GET Retrieve stand alone SVG image
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
route /fsw/svg/font/{text} SVG with font
line Create an SVG with font using Formal SignWriting in ASCII (FSW)
parameter text AS20310S26b02S33100M521x547S33100482x483S20310506x500S26b02503x520 string The name of sign
method GET Retrieve SVG with font
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 AS10011S10019S2e704S2e748M525x535S2e748483x510S10011501x466S2e704510x500S10019476x475
body
body
body
body
body