{"repo":"appnexus/anx-api","free":true,"listed":false,"github":"https://github.com/appnexus/anx-api","clone":"git clone https://github.com/appnexus/anx-api.git","description":"Javascript wrapper for the AppNexus Console API","language":"TypeScript","stars":38,"topics":["javascript","appnexus","api-wrapper"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Installation Usage Example Links Upgrading from 3.x to 4.x Upgrading from 2.x to 3.x Changelog Contributing Constructor Parameters config[object]: target - (string) required base api url token - (string) optional session token request - (object) optional request object timeout - (integer) optional request timeout in milliseconds (default: 60000) Triggers ConnectionAbortedError error. userAgent - (string) optional user agent rateLimiting - (boolean) optional rate limiting concurrencyLimit - (integer) optional max concurrent requests beforeRequest - (function) optional before request opts filter (see beforeRequest) afterRequest - (function) optional after request response filter (see afterRequest) environment - (enum:node browser) optional. node - force axios to run as if in node and not the browser (usefull for testing with jest/jasmine). Instance Methods #get Issues a GET request Parameters service uri - (string) opts - (object) see Request Options Response Object statusCode - (number) Http response code headers - (object) Response headers body - (object) Response payload req - (object) Request options requestTime - (number) Actual on network request time in milliseconds totalTime - (number) Total request time including concurrency and rate limiting delays in milliseconds Parameters id - (number OR array(number)) service uri - (string) opts - (object) see Request Options #getAll Usage and parameters are the same as #get accept it pages through api calls. Response body is pars","default_branch":null,"files":null,"tree":[],"storefront":"/r/appnexus","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/appnexus/anx-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}