0.4.2 • Published 8 years ago

proxapi v0.4.2

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

Build Status

Proxapi is a javascript library acting as a proxy between your code and APIs of services like Twitter, Google or Facebook which limit the number of requests allowed in a period of time. With it, you can set up various strategies to deal with theses limits such as sending back an informative error message or waiting for the end of the limited period to retry the request.

Installation

In node, install the npm package with npm install proxapi, you can then initialize a ProxAPI instance with :

var ProxAPI = require("proxapi");
var proxApi = new ProxAPI(settings);

In the browser, include the file proxapi-0.4.1.min.js

<script src="proxapi-0.4.1.min.js"></script>
<script type="text/javascript">
  var proxApi = new ProxAPI(settings);
</script>

Usage

There is an introductory tutorial here. Check the generated documentation for a complete reference of ProxAPI settings options and methods. Check as well the source code examples/ folder.

0.4.2

8 years ago

0.4.1

10 years ago

0.3.1

10 years ago