Skip to main content

Easily Integrate
DEV's API using Konfig's TypeScript SDK

Need a TypeScript SDK for DEV's API?

Growing API Companies trust Konfig's SDKs to onboard developers to their API.

SnapTradeHumanloopSplititLeapGroundx

First, instantiate the SDK

It only takes a few lines of code.

index.ts

import { Dev } from 'dev-typescript-sdk';
const dev = new Dev({
/*
* API Key authentication.
*
* Authentication for some endpoints, like write operations on the
* Articles API require a DEV API key.
*
* All authenticated endpoints are CORS disabled, the API key is intended for non-browser scripts.
*
* ### Getting an API key
*
* To obtain one, please follow these steps:
*
* - visit https://dev.to/settings/extensions
* - in the "DEV API Keys" section create a new key by adding a
* description and clicking on "Generate API Key"
*
* ![obtain a DEV API Key](https://user-images.githubusercontent.com/37842/172718105-bd93664e-76e0-477d-99c4-265dda0b06c5.png)
*
* - You'll see the newly generated key in the same view
* ![generated DEV API Key](https://user-images.githubusercontent.com/37842/172718151-e7fe26a0-9937-42e8-96c6-333acdab9e49.png)
*/
apiKey: "API_KEY"
})

Then, send your first request

We made it really easy.

index.ts

// Published articles
const listPublishedArticlesResponse = dev.articles.listPublishedArticles({
page: 1
perPage: 30
tag: "discuss"
tags: "javascript, css"
tagsExclude: "node, java"
username: "ben"
state: "fresh"
top: 2
collectionId: 99
})

Enjoy a buttery smooth developer experience with 58 SDK methods

How Konfig Works

Konfig collects APIs and automatically generates SDKs so you can focus on building your application.

openapi-examples

Konfig maintains the highest quality collection of OpenAPI Specifications on the internet in a GitHub repository

We pull OpenAPI Specifications from public sources, fix any errors, and make sure they pass our lint rules. We continually make sure the repository is up-to-date and collect up-time and response time metrics for every API.

openapi-examples-to-konfig

Generates AI-Augmented SDKs from openapi-examples

Our SDK generator is trusted by growing API companies and goes through a rigorous testing process to ensure the generated SDKs are high-quality and easy to use.

konfig-to-package-managers

Publishes to standard package managers

We publish to standard package managers like npm, PyPI, and Maven so you can easily integrate the SDK into your application.

DEV

About DEV

DEV is a community of software developers where they can share knowledge, collaborate, and learn from each other. It's a platform for writing, reading, and discussing code and software development topics. DEV also provides resources, tools, and opportunities for developers to grow their skills and network with industry professionals.

Keywords

developer_tools
automation
collaboration
media
community_engagement
discussion
knowledge_sharing
platform
writing
reading
code
software_development
resources
skills
network
blogging
industry_professionals

Start integrating DEV's API with Konfig