TypeScript integration
import Circleci_v2_sdk from 'circleci-v2-sdk'; const client = new Circleci_v2_sdk({ apiKey: "YOUR_API_KEY" });
curl \ # append ?circle-token=$API_KEY to the URL \ https://circleci.com/api/v1/me
curl \ # append ?circle-token=$API_KEY to the URL \ https://circleci.com/api/v1/projects
curl \ # append ?circle-token=$API_KEY to the URL \ https://circleci.com/api/v1/recent-builds