Skip to content

Latest commit

 

History

History
121 lines (80 loc) · 2.04 KB

README.md

File metadata and controls

121 lines (80 loc) · 2.04 KB

RFID-logo

Showcase your tech articles in your portfolio using the Medium API



GitHub



image

1. API

  https://api.rss2json.com/v1/api.json?rss_url=https://medium.com/feed/@Medium_Username

2.Request Example (REACT)

    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();

  }, []);

3. DATA Props

[
{

author: ,
categories: ,
content: ,
description: : ,
guid: ,
link: ,
pubDate: ,
thumbnail: ,
title: 

}
]

3. DEMO application

  1. Repository Clone:
git clone https://github.com/DIGOARTHUR/MediumAPI.git
  1. Install Dependecies
yarn 
or
npm 
  1. Testing MEDIUM API

Note

Don't forget to change the API Username


Love Medium API Repository? Give our repo a star ⭐ ⬆️.

by: @digoarthur