PHP code example of kilotonco / dncore
1. Go to this page and download the library: Download kilotonco/dncore 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/ */
kilotonco / dncore example snippets
$dncore = new DNCore("apikey");
echo $dncore->item()
->itemName(urlencode("황금"))
->wordType("full")
->limit(10)
->dataCheck()
->getJsonData();
$dncore = new DNCore("apikey");
$data= $dncore->item()
->itemName(urlencode("황금"))
->wordType("full")
->limit(10)
->dataCheck()
->getData();
foreach($data['Result'] as $item => $value){
echo $item.":".$value."<br>;
}