PHP code example of ety001 / url2io-phpsdk
1. Go to this page and download the library: Download ety001/url2io-phpsdk library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ety001 / url2io-phpsdk example snippets
use ETY001\URL2io\URL2io;
$token = 'Your token';
$url2io = new URL2io($token);//new URL2io($token , false);使用file_get_contents
$url = 'the url you want to grab';
$result = $url2io->contentGet($url);