#normalize
3 APIs con questa etichetta
Range Remap API
Mapeia números entre intervalos. O endpoint scale mapeia linearmente um valor de um intervalo de entrada [in_min, in_max] para um intervalo de saída [out_min, out_max] — o clássico map() que você usa com leituras de sensores, sliders e knobs, medidores e barras de progresso, e eixos de visualização de dados. Ele também retorna a posição t de 0 a 1, então com o intervalo de saída padrão 0–1 ele normaliza um valor, e com um intervalo de entrada 0–1 ele interpola (lerp); intervalos de saída podem ser invertidos (out_min maior que out_max) para inverter a direção, e um clamp opcional mantém o resultado dentro do intervalo de saída em vez de extrapolar. O endpoint clamp restringe um valor a um mínimo e máximo e pode adicionalmente ajustá-lo ao passo mais próximo. Tudo é matemática local exata, instantânea e determinística. Ideal para IoT e embarcados (estilo Arduino map), áudio e DSP, gráficos e desenvolvimento de jogos, dashboards e gráficos, e controles de UI. Computação local pura — sem chave, sem serviço de terceiros, instantâneo. Ao vivo, nada armazenado. 3 endpoints. Isto mapeia valores escalares — para interpolar vetores use uma API de vetores e para curvas de easing de animação use uma API de easing.
api.oanor.com/remap-api
URL Canonicalize API
Normalize URLs to a canonical form so you can deduplicate, compare and clean them. The canonicalize endpoint lower-cases the scheme and host, drops the default port (80 for http, 443 for https), resolves ./ and ../ path segments and fixes percent-encoding using the standard WHATWG URL parser, then applies the cleanups you choose: strip marketing and analytics tracking parameters (all utm_* plus gclid, fbclid, msclkid, yclid, mc_eid and many more), sort the remaining query parameters into a stable order, optionally drop the #fragment, and add or remove the trailing slash. It returns the canonical URL, the fully parsed components and the exact list of changes it made. The compare endpoint canonicalizes two URLs and tells you whether they point to the same resource — perfect for catching duplicate links that differ only by tracking codes, casing, port or parameter order. Everything is computed locally with no network calls, so it is instant, private and safe. Ideal for crawlers and SEO tooling, link deduplication and analytics, cache keys, bookmarking and content pipelines. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This canonicalizes the URL string; it does not fetch it or follow redirects — for link previews and unshortening use a URL-unfurl API.
api.oanor.com/urlcanon-api
Email Normalize API
Canonicalize email addresses so you can deduplicate accounts and catch different aliases of the same inbox. The normalize endpoint lower-cases the address and applies provider-aware rules: it strips the dots from Gmail and Googlemail local parts (because Gmail ignores them) and maps googlemail.com to gmail.com, removes +tag sub-addressing for Gmail and the many providers that support it — Outlook, Hotmail, Live, iCloud, Fastmail, Proton, Yandex, Zoho, GMX and more — and, by default, for every domain so duplicates never slip through, while reporting exactly which changes it made and which provider it detected. The compare endpoint normalizes two addresses and tells you whether they resolve to the same mailbox. Everything is computed locally and deterministically, with no DNS or network calls, so it is instant and private. Ideal for sign-up and registration dedup, fraud and abuse prevention (one person, many aliases), CRM and mailing-list hygiene, and merging customer records. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This normalizes addresses for comparison; to verify that an address actually exists and can receive mail (MX, disposable, role accounts) use an email-verification API.
api.oanor.com/emailnormalize-api