Ninjaproxies

A very simple interface for programatically dealing with the NinjaProxies API

Summary

Functions

Set the API key from the application config or ENV var

Set the API key for making requests

Request a list of proxies

Functions

configure()

Set the API key from the application config or ENV var

configure(api_key)

Set the API key for making requests

Example

iex(1)> Ninjaproxies.configure("XXXXXXXXXXX") :ok

request(options)

Request a list of proxies

  • limit is an integer
  • options is a map with the following potential members, each a single string or list of strings: :order, :portNum, :type, :prototol, :countryCode, :countryName, :regionName, :speed, :bandwidth, :uptime, :whitelisted, :referrer, :cookie, :get, :post, :google, :facebook, :paypal, :craigslist, :twitter, :youtube, :pinterest, :instagram, :alive, :limit