Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/digoarthur/mediumapi
Show your Medium articles and documents in your portfolio using the Medium API.
https://github.com/digoarthur/mediumapi
api medium porftolio request
Last synced: 13 days ago
JSON representation
Show your Medium articles and documents in your portfolio using the Medium API.
- Host: GitHub
- URL: https://github.com/digoarthur/mediumapi
- Owner: DIGOARTHUR
- License: mit
- Created: 2024-05-16T07:37:37.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-18T13:15:38.000Z (7 months ago)
- Last Synced: 2024-05-19T12:47:30.876Z (7 months ago)
- Topics: api, medium, porftolio, request
- Language: JavaScript
- Homepage: https://found-medium-api.vercel.app
- Size: 110 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Showcase your tech articles in your portfolio using the Medium API
![GitHub](https://img.shields.io/github/license/digoarthur/MediumAPI)
![image](https://github.com/DIGOARTHUR/MediumAPI/assets/59892368/e199319b-df96-4056-baff-39beb7a2f8c7)
## 1. API
```
https://api.rss2json.com/v1/api.json?rss_url=https://medium.com/feed/@Medium_Username
```## 2.Request Example (REACT)
```jsx
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```javascript
[
{author: ,
categories: ,
content: ,
description: : ,
guid: ,
link: ,
pubDate: ,
thumbnail: ,
title:}
]
```## 3. DEMO application
1. Repository Clone:
```
git clone https://github.com/DIGOARTHUR/MediumAPI.git
```2. Install Dependecies
```
yarn
or
npm
```3. Testing MEDIUM API
> [!NOTE]
> Don't forget to change the API Username---
**Love Medium API Repository? Give our repo a star ⭐ ⬆️.**
`by`: [@digoarthur](https://www.linkedin.com/in/digoarthur/)