@dendronhq/devto-nodejs-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

devto-nodejs-sdk

The Node.js SDK for @thepracticaldev

Installation

Install it via your favorite package manager:

npm i devto-nodejs-sdk

Usage

This is a very simple SDK tool that implements all the Swagger specs into a Node.js client. You can instantiate the client using:

import { Client } from 'devto-nodejs-sdk'

const client = new Client('Your API Key')

const { data } = await client.getUserByName('khaosdoctor')

The client itself is just a proxy of the original API.

If the API changes and you notice it, please submit an issue or, if you already know what changed, please submit a PR

API

All provided APIs in the official docs are provided as part of the API as well, these are the translated names for these endpoints:

  • listArticles
  • createArticle
  • getArticle
  • updateArticle
  • selfArticles
  • selfPublishedArticles
  • selfUnpublishedArticles
  • selfAllArticles
  • listArticleComments
  • getComment
  • listListings
  • createListing
  • getListingByCategory
  • getListingById
  • updateListing
  • getPodcastEpisodes
  • getArticleTags
  • getUserById
  • getUserByName
  • getSelfInformation
  • getArticlesWithVideo
  • getWebhooks
  • createWebhook
  • getWebhookById
  • deleteWebhook

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.5
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.5
    2
  • 1.0.4
    2

Package Sidebar

Install

npm i @dendronhq/devto-nodejs-sdk

Weekly Downloads

0

Version

1.0.5

License

GPL-3.0

Unpacked Size

191 kB

Total Files

109

Last publish

Collaborators

  • kevins8