jover/ripe-stat

Ripe Stat API 的包装器

0.1.2 2016-08-19 14:18 UTC

This package is not auto-updated.

Last update: 2024-09-14 19:25:45 UTC


README

简单的 PHP 包装器,围绕 Ripe AbuseContactFinder

安装 RipeStat

 composer require jover/ripe-stat

使用方法

 use RipeStat\AbuseContactFinder;
 
 // normal use
 $rs = new AbuseContactFinder(); 
 
 // If you make a lot of calls, get a sourceapp id from ripe :)
 $rs = new AbuseContactFinder('my sourceapp id');
 
 // making a call
 $data = $rs->get('ip, asin, or prefix');
 
 print_r($data);

示例

查看 example.php