Using circleci-config-sdk-ts with circleci.com

TypeScript integration

✓ Official SDK
Install
npm install circleci-config-sdk-ts
Quick start
import Circleci_config_sdk_ts from 'circleci-config-sdk-ts';

const client = new Circleci_config_sdk_ts({ apiKey: "YOUR_API_KEY" });
Provides information about the signed in user.
curl \
  # append ?circle-token=$API_KEY to the URL \
  https://circleci.com/api/v1/me
List of all the projects you're following on CircleCI, with build information…
curl \
  # append ?circle-token=$API_KEY to the URL \
  https://circleci.com/api/v1/projects
Build summary for each of the last 30 recent builds, ordered by build_num.
curl \
  # append ?circle-token=$API_KEY to the URL \
  https://circleci.com/api/v1/recent-builds
SDK on GitHub 📄 API Docs
SDK
circleci-config-sdk-ts
TypeScript
API
circleci.com
circleci.com
At a glance
Language TypeScript
Endpoints22
Base URLhttps://circleci.com/api/v1
✓ Official