
I Build Javascript/Typescript API wrapper
Yes I build a wrapper, and this age of AI building something like this maybe not an achievement , but if you are a Developer , You have every right to build anything , and nobody can stop you Now, back to the story, building a wrapper SDK around an API is very simple; you need TWO things for that Request Response Simple isnt it? Now I build it using Typescript, Reason: typesafety, you can build using JavaScript, but I would recommend using zod for that Request A message sent to the server by the client to perform an action or get information example : curl --request GET \ --url http://localhost:3773/agent/skills/ { skillId } Response A message sent by the server replying the request made by client example: { "id" : "pdf-processing-v1" , "name" : "pdf-processing" , "description" : "Extract text, fill forms, and extract tables from PDF documents. \n Handles both standard text-based PDFs and scanned documents with OCR. \n " , "tags" : [ "pdf" , "documents" , "extraction" , "forms" , "tabl
Continue reading on Dev.to JavaScript
Opens in a new tab



