Note This repository contains the source code of pubapi.vercel.app
See the contributing guide for detailed instructions on how to get started with our project.
-
fetch("https://pubapi.vercel.app/api/person") .then((response) => response.json()) .catch((error) => console.log(error));
[ { "name": "Alice Rojas", "phone": "(104) 194-4167", "email": "[email protected]", "address": "4288 Ut Rd.", "postalZip": "6213", "region": "Gelderland", "country": "Ukraine" }, ... ]
-
fetch("https://pubapi.vercel.app/api/fruit") .then((response) => response.json()) .catch((error) => console.log(error));
[ { "name": "Apple", "image": "https://upload.wikimedia.org/wikipedia/commons/thumb/1/15/Red_Apple.jpg/265px-Red_Apple.jpg", "price": 35 }, ... ]
-
fetch("https://pubapi.vercel.app/api/country") .then((response) => response.json()) .catch((error) => console.log(error));
[ { "name": "Afghanistan", "code": "AF" }, ... ]
-
fetch("https://pubapi.vercel.app/api/color") .then((response) => response.json()) .catch((error) => console.log(error));
[ { "color": "black", "code": { "rgba": [255, 255, 255, 1], "hex": "#000" } }, ... ]
We use GitHub Discussions to talk about all sorts of topics related to documentation and this site. For example: if you'd like help troubleshooting a PR, have a great new idea, or want to share something amazing, join us in the discussions.
|