Registry / http-networking / yellowgrid-api-ts

yellowgrid-api-ts

JSON →
library3.2.116jsnpmunverified

OpenAPI-generated TypeScript/JavaScript client library for the YellowGrid API (version 3.2.116, latest stable). Uses Axios for HTTP requests. Supports Node.js, Webpack, and Browserify environments. Ships TypeScript type definitions. Compatible with ES5+ and CommonJS/ES6 module systems. Generated via OpenAPI Generator, providing comprehensive API coverage including accounts, credentials, contacts, and reseller operations.

npm install yellowgrid-api-ts
INSTALL
IMPORT
SIG · YELLOWGRID-API-TS
Y
yellowgrid-api-ts
http-networkingjavascriptv3.2.116
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AccountsApi
import { AccountsApi } from 'yellowgrid-api-ts'
const AccountsApi = require('yellowgrid-api-ts').AccountsApi
CommonJS require also works, but ESM import is preferred.
DefaultApi
import { DefaultApi } from 'yellowgrid-api-ts'
May not exist in all versions; check API documentation for available classes.
Configuration
import { Configuration } from 'yellowgrid-api-ts'
import { Configuration } from 'yellowgrid-api-ts/dist'
Configuration is used to set API keys and base path. Direct import from dist is an internal path.
ApiClient
import { ApiClient } from 'yellowgrid-api-ts'
Some older versions use ApiClient; check your generated code.

Demonstrates creating a Configuration with an API key and fetching account data using AccountsApi.

import { AccountsApi, Configuration } from 'yellowgrid-api-ts'; const config = new Configuration({ basePath: 'https://api.yellowgrid.com', apiKey: process.env.YELLOWGRID_API_KEY ?? '' }); const api = new AccountsApi(config); async function getAccount() { try { const response = await api.getGetAccount(); console.log('Account data:', response.data); } catch (error) { console.error('Error fetching account:', error); } } getAccount();
Debug
Known issues
breakingThe package was generated from an OpenAPI spec; changing the spec may introduce breaking changes in method signatures.
fix
Always generate client against the exact API version you are targeting.
affects: >=0
deprecatedES5 support is deprecated; Promises/A+ library may be required in older environments.
fix
Upgrade to ES6+ environment or use a promise polyfill.
affects: >=3.0
gotchaBase path defaults to 'https://bitbucket.org' which is incorrect for production; must be overridden.
fix
Always set basePath in Configuration to your API server URL.
affects: >=0
gotchaAPI key authentication may require the 'apiKey' parameter in Configuration, not 'accessToken'.
fix
Check the auth scheme defined in your OpenAPI spec.
affects: >=3.2
Errors
Common errors & fixes
Cannot find module 'yellowgrid-api-ts'
Package not installed or version mismatch
fix
Run 'npm install yellowgrid-api-ts' and ensure it's in package.json dependencies.
TypeError: yellowgrid_api_ts_1.AccountsApi is not a constructor
Using wrong import style (default vs named import)
fix
Use correct import: import { AccountsApi } from 'yellowgrid-api-ts'
ERROR: Configuration is not exported from 'yellowgrid-api-ts'
Outdated version of the package
fix
Upgrade to the latest version: npm install yellowgrid-api-ts@latest
Upgrade
Version history
3.2.116latest on npm
Audit
Dependencies
axiosrequiredRuntime dependency for HTTP requests
Agent activity
34 hits · last 30 days
node
28
OpenAI (training)
1
Resources
yellowgrid-api-ts — npm install yellowgrid-api-ts · libregistry