This package has been deprecated

Author message:

This package has been deprecated in favor of @researchgate/emailonacid-proxy.

emailonacid-proxy

3.9.3 • Public • Published

emailonacid-proxy

Self-hosted proxy for throttling EoA API requests to 60 per 5 minutes (applicable for all of their plans).

Quick Start

  1. Install the emailonacid-proxy:
# yarn 
yarn add emailonacid-proxy
 
# npm 
npm add --save emailonacid-proxy
  1. Run the proxy:
# yarn 
yarn emailonacid-proxy
 
# npx 
npx emailonacid-proxy
  1. Point EoA client to a new url via baseApiUrl:
const createClient = require('emailonacid-client');
 
const client = createClient({
  baseApiUrl: '<your proxy address>',
});

Usage

Usage: emailonacid-proxy [options]
 
Options:
  -p, --port <port>                  Port number (default: 8080)
  -r, --requests-per-interval <rpi>  Max requests to make per given interval (default: 60)
  -i, --interval <interval>          Time interval to track requests in milliseconds (default: 300000)
  -d, --destination [url]            Proxy destination (default: "https://api.emailonacid.com/v5")
  -h, --help                         output usage information

Readme

Keywords

none

Package Sidebar

Install

npm i emailonacid-proxy

Weekly Downloads

2

Version

3.9.3

License

none

Unpacked Size

4.74 kB

Total Files

7

Last publish

Collaborators

  • grid_rg
  • haeusler
  • researchgate-bot
  • mdio
  • danez
  • sbekrin