2017 © Pedro Peláez
 

library sdk

SDK for the CAPI Centralized API.

image

capi/sdk

SDK for the CAPI Centralized API.

  • Wednesday, December 13, 2017
  • by capi
  • Repository
  • 1 Watchers
  • 0 Stars
  • 726 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 3 % Grown

The README.md

capi-sdk

First release

Just released v1.0.1 which has Domdetailer API included., (*1)

Installation

You can install capi-sdk via composer or by downloading the source., (*2)

Via Composer:

capi-sdk is available on Packagist as the capi/sdk package., (*3)

Quickstart

Check Domain via Domdetailer

// Check Domain via Domdetailer
<?php
$api_key = "XXXXXXXXXXXXXXXXXXXX"; // Your API Key from CAPI

$client = new CAPI\Rest\Client($api_key);
$domdetailer_result = $client->get('domdetailer/check-domain', ['domain' => 'google.com']);

print $domdetailer_result;

That will output JSON that looks like this:, (*4)

{"domain":"google.com","mozLinks":"6859689","mozPA":"96.47","mozDA":"100","mozRank":"9.46","mozTrust":"9.33","mozSpam":"1","majesticStatReturned":"root","FB_comments":0,"FB_shares":44737849,"google_plus_one":0,"pinterest_pins":11278,"linkedin":5434,"majesticLinks":39102397978,"majesticRefDomains":18815934,"majesticRefEDU":285809230,"majesticRefGov":150016067,"majesticRefSubnets":426424,"majesticCF":100,"majesticTTF0Name":"Computers\/Internet\/Searching","majesticTTF0Value":93,"majesticTTF1Name":"Recreation\/Travel","majesticTTF1Value":91,"majesticTTF2Name":"Computers\/Internet\/On the Web","majesticTTF2Value":90,"majesticTF":99}

Documentation

The documentation for the CAPI REST API is located here., (*5)

The PHP library documentation can be found here., (*6)

Versions

capi-sdk's current version is v1.0.1., (*7)

Prerequisites

  • PHP >= 5.3
  • The PHP JSON extension

Getting help

If you need help installing or using the library, please contact Web1 Support at alex@web1.co first., (*8)

If you've instead found a bug in the library or would like new features added, go ahead and open issues or pull requests against this repo!, (*9)

The Versions

13/12 2017

dev-master

9999999-dev https://github.com/alexcontes/capi-sdk

SDK for the CAPI Centralized API.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Web1 API Team

api sdk seo audit

13/12 2017

1.0.3

1.0.3.0 https://github.com/alexcontes/capi-sdk

SDK for the CAPI Centralized API.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Web1 API Team

api sdk seo audit

06/12 2017

1.0.2

1.0.2.0 https://github.com/alexcontes/seoaudit-sdk

SDK for the SEOAudit Centralized API.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Web1 API Team

api sdk seo audit

06/12 2017

1.0.1

1.0.1.0 https://github.com/alexcontes/seoaudit-sdk

SDK for the SEOAudit Centralized API.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Web1 API Team

api sdk seo audit