🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

devto-nodejs-sdk

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devto-nodejs-sdk

The Dev.to Node.js SDK

latest
Source
npmnpm
Version
1.0.7
Version published
Maintainers
1
Created
Source

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

Keywords

thepracticaldev

FAQs

Package last updated on 06 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts