ynizon/dareboost-php

Dareboost PHP Toolkit

1.0.0 2018-11-14 14:21 UTC

This package is auto-updated.

Last update: 2024-04-27 21:19:15 UTC


README

For Dareboost API PHP library v0.5.

You have 3 files: DareboostBase is for call the API... DareboostAPI is the list of functions available with the API (see https://www.dareboost.com/en/documentation-api) DareboostCustomAPI is a list of custom functions i need.

Define your dareboost token api on your config/app.php DAREBOOST_KEY

Then, use like this: use DareboostPHP\DareboostBase; use DareboostPHP\DareboostAPI; use DareboostPHP\DareboostCustomAPI;

$api = new DareboostCustomAPI(config("app.DAREBOOST_KEY"));

//Launch Analysis

$params = array("url"=>"https://www.gameandme.fr");

$json = $api->analysisLaunch($params);

//Get a result from a url $tab = $api->getAnalysisReportForUrl("https://www.gameandme.fr");

Take care with this error: Too many simultaneous analysis. You have reached the maximum number of simultaneous analysis for your profile. You can upgrade your offer or wait until the current analysis is completed.

Contact: ynizon@gmail.com