This repository is not related to the dev.to organisations.
npm i @webeleon/dev.to
import { DevTo } from '@webeleon/dev.to';
const devtToClient = new DevTo('API KEY');
devtToClient
.articleApi
.getUserPublishedArticle()
.then((articles: Article[]) => {
// do some stuff ;)
});
import { ArticleApi } from '@webeleon/dev.to';
const articleApiClient = new ArticleApi('API _KEY');
articleApiClient
.getUserPublishedArticle()
.then((articles: Article[]) => {
// do some stuff ;)
});
Work in progress.
At the moment only endpoint required for the site https://webeleon.dev are implemented
If you need more endpoints make a PR or create an Issue