dev-master
9999999-devQwant Unofficial API client
MIT
The Requires
- php ^5.6 || ^7.0
- guzzlehttp/guzzle ^6.2
by Filippo Toso
v1.0.0
1.0.0.0Qwant Unofficial API client
MIT
The Requires
- php ^5.6 || ^7.0
- guzzlehttp/guzzle ^6.2
by Filippo Toso
Wallogit.com
2017 © Pedro Peláez
Qwant Unofficial API client
A simple client for qwant.com unofficial API., (*1)
Use Composer to install it:, (*2)
composer require filippo-toso/qwant-unofficial-api
use FilippoToso\QwantUnofficialAPI\Client as QwantClient;
// Create the client
$client = new QwantClient('en_US');
// Get a list of suggested searches
$results = $client->suggest('market');
var_dump($results);
// Execute a generic search (default is for the web)
$results = $client->search('marketing');
var_dump($results);
// Get all the web results about the provided query
$results = $client->web('marketing');
var_dump($results);
// Get all the social results about the provided query
$results = $client->social('marketing');
var_dump($results);
// Get all the images about the provided query
$results = $client->images('marketing');
var_dump($results);
// Get all the news about the provided query
$results = $client->news('marketing');
var_dump($results);
Qwant Unofficial API client
MIT
Qwant Unofficial API client
MIT