Skip to content

proxyport/ts-proxyport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxy Port SDK

@proxyport/proxyport Node.js package provides interfaces to the Proxy Port API.

Prerequisites

To use this package you will need a free API key. Get your AIP key here. Detailed instructions here.

Installation

Install via npm:

$ npm i @proxyport/proxyport

Getting Started

Before you get your first proxy, you need to assign an API key.

import { ProxyPort } from '@proxyport/proxyport';

let proxyPort = new ProxyPort(<API_KEY>);

(async () => {
    let proxy = await proxyPort.getProxy();
    console.log(proxy);
})();