Logo Lanfrica

toureydaou/INAM_drugs_api

Domain:

healthcare

Record type:

software
Creator:
tou
Host:
An api node providing all INAM drugs in Togo # INAM Drugs API INAM Drugs API, is a free online REST API which providing you all INAM pharmaceutical products JSON data. # Description This API just provide you INAM products but not allows you to make some actions like: create, upadte or delete. # Ressources There's just one ressource which are the products - products: inam-drugs-api.vercel.app # How to You can get data by all the way you know (fetch API, AJAX, cURL, Axios,...), the API will return you JSON data. # Get all drugs ``` fetch("inam-drugs-api.vercel.app") .then((data) => console.log(data)); ``` # Get drug by name ``` fetch("inam-drugs-api.vercel.app") .then((data) => console.log(data)); ``` # Get drug by id ``` fetch("inam-drugs-api.vercel.app") .then((data) => console.log(data)); ``` # Get all therapies ``` fetch("inam-drugs-api.vercel.app") .then((data) => console.log(data)); ``` # Get drugs by therapy ``` fetch("inam-drugs-api.vercel.app") .then((data) => console.log(data)); ``` # Drugs ``` { "id": String, "name": String, "price": Number, "price_inam": Number, "shape": String, "quantity": String, "dosage": String, "therapy": String } ```

Licenses