0.2.5 • Published 3 years ago

@webeleon/dev.to v0.2.5

Weekly downloads
542
License
MIT
Repository
github
Last release
3 years ago

unofficial API client for dev.to API

Coverage Status code style: prettier Test and coverage

This repository is not related to the dev.to organisations.

Getting started

npm i @webeleon/dev.to

Use the all inclusive client

import { DevTo } from '@webeleon/dev.to';

const devtToClient = new DevTo('API KEY');

devtToClient
  .articleApi
  .getUserPublishedArticle()
  .then((articles: Article[]) => {
    // do some stuff ;) 
  });

Use a specific client

import { ArticleApi } from '@webeleon/dev.to';

const articleApiClient = new ArticleApi('API _KEY');

articleApiClient
  .getUserPublishedArticle()
  .then((articles: Article[]) => {
    // do some stuff ;) 
  });

Dev.to API support

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

Article

Useful Links

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.0

3 years ago

0.1.13

3 years ago

0.1.12

3 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.8

3 years ago

0.1.9

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.1

3 years ago