Set the data that will be passed along to the eContext API.
public Density Density::setData( $data )
Returns the eContext\Categories\Density object for method chaining
Provide a list of keywords for the client to search using Categories Density search
$keywords = [
'hotels',
'facebook',
'youtube',
'craigslist',
'facebook login',
'aquarius',
'google',
'ebay',
'yahoo'
]
$client = new eContext\Client(ECONTEXT_USERNAME, ECONTEXT_PASSWORD);
$density = new eContext\Categories\Density($client);
$density->setData($keywords);
$results = $density->search();