Skip to content
Fourohtwo

utilpeek (Tanod) line tools

tanod.dev/v1/text/lines

utilpeek (Tanod) line tools: trim, dedupe, sort, shuffle and number lines. Use when an agent must clean up a list of lines by trimming, deduplicating, sorting or numbering.

SolanaUnchecked
POSThttps://tanod.dev/v1/text/lines

UptimeNot checked yet

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://tanod.dev/v1/text/lines" \
  -d '{"text":"banana\napple\n\nBanana\ncherry 10\ncherry 9","sort_mode":"natural","operations":["remove_empty","dedupe","sort"],"case_insensitive":true}'

# 402 Payment Required comes back with the price and where to pay.

Example input

{
  "text": "banana\napple\n\nBanana\ncherry 10\ncherry 9",
  "sort_mode": "natural",
  "operations": [
    "remove_empty",
    "dedupe",
    "sort"
  ],
  "case_insensitive": true
}

More from Tanod utilpeek