An open API service indexing awesome lists of open source software.

https://github.com/siamahnaf/use-rss-medium

Get your latest medium article in react. A npm package to format medium rss post articles into json formate in a react application.
https://github.com/siamahnaf/use-rss-medium

medium medium-api npm-package react react-hook

Last synced: about 1 month ago
JSON representation

Get your latest medium article in react. A npm package to format medium rss post articles into json formate in a react application.

Awesome Lists containing this project

README

          



Siam Ahnaf

## use-rss-medium
Get your latest medium article in react. A npm package to format medium rss post articles into json formate in a react application.

## Installation
- `npm i use-rss-medium`
- `yarn add use-rss-medium`

## Usage
```tsx
import { useMedium } from 'use-rss-medium';

const Articles = () => {
const articles = useMedium("cabbageweb");

return (


);
};
```

## Remarks
### Proxy
This project makes use of a free Proxy service to access the Medium API. If for any reason you want to use another service then you can specify it in the configuration paramters
```ts
const articles = useMedium("cabbageweb", {
proxy: "https://my-custom-proxy.com/"
});
```
The above configuration will result in the following endpoint: `https://my-custom-proxy.com?url=https://medium.com/feed/@cabbageweb`.