7 endpoints fyrir útdrátt á URL-lýsigögnum og forskoðanir tengla gegnum Microlink (titil, lýsingu, myndir, skjámyndir), greiningu á blótsyrðum og efnissíun gegnum PurgoMalum, og handahófskenndar ráðleggingar frá Advice Slip API. Frábært fyrir efnisstýringu, forskoðanir á samfélagsmiðlum og spjallþjarka.
Grunnslóð: https://nordapi.ee/api/v1
GET /link/preview
Dragðu út lýsigögn úr hvaða URL sem er: titil, lýsingu, höfund, útgefanda, tungumál, myndir og merki. Fullkomið til að smíða forskoðunarspjöld tengla eins og þau sem sjást í Slack, Twitter eða Discord.
url
nauðsynlegt
curl "https://nordapi.ee/api/v1/link/preview?url=https://github.com"
GET /link/screenshot
Dragðu út metadata from a URL plus capture a screenshot image. Skilar same data as link preview with an additional screenshot URL.
url
nauðsynlegt
curl "https://nordapi.ee/api/v1/link/screenshot?url=https://github.com"
GET /profanity/filter
Filter profanity from text, replacing bad words with asterisks or a custom replacement. Styður adding custom words to filter.
text
nauðsynlegt
add
valfrjálst
fill_char
valfrjálst
fill_text
valfrjálst
curl "https://nordapi.ee/api/v1/profanity/filter?text=hello+world"
GET /profanity/check
Athugaðu if text contains profanity. Skilar true or false.
text
nauðsynlegt
curl "https://nordapi.ee/api/v1/profanity/check?text=hello+world"
GET /advice/random
Fáðu a random piece of advice. Frábært fyrir spjallþjarka, daily widgets, and inspiration forrit.
curl https://nordapi.ee/api/v1/advice/random
GET /advice/search
Leita að ráðleggingum sem innihalda ákveðin leitarorð.
q
nauðsynlegt
curl "https://nordapi.ee/api/v1/advice/search?q=love"
GET /advice/:id
Get a specific piece of advice by its ID.
curl https://nordapi.ee/api/v1/advice/42