Showcase your tech articles in your portfolio using the Medium API
https://api.rss2json.com/v1/api.json?rss_url=https://medium.com/feed/@Medium_Username
useEffect(() => {
async function fetchData() {
try {
const res = await fetch('https://api.rss2json.com/v1/api.json?rss_url=https://medium.com/feed/@Medium_Username');
const data = await res.json();
const items = data.items;
setDataMedium(items);
} catch (error) {
console.log(error)
}
}
fetchData();
}, []);
[
{
author: ,
categories: ,
content: ,
description: : ,
guid: ,
link: ,
pubDate: ,
thumbnail: ,
title:
}
]
- Repository Clone:
git clone https://github.com/DIGOARTHUR/MediumAPI.git
- Install Dependecies
yarn
or
npm
- Testing MEDIUM API
Note
Don't forget to change the API Username
Love Medium API Repository? Give our repo a star ⭐ ⬆️.
by
: @digoarthur