Skip to content

Show your Medium articles and documents in your portfolio using the Medium API.

License

Notifications You must be signed in to change notification settings

DIGOARTHUR/MediumAPI

Repository files navigation

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

About

Show your Medium articles and documents in your portfolio using the Medium API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published