2017 © Pedro Peláez
 

library qwant-unofficial-api

Qwant Unofficial API client

image

filippo-toso/qwant-unofficial-api

Qwant Unofficial API client

  • Tuesday, October 10, 2017
  • by filippo.toso
  • Repository
  • 0 Watchers
  • 1 Stars
  • 142 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

Qwant Unofficial API Client

A simple client for qwant.com unofficial API., (*1)

Requirements

  • PHP 5.6+
  • guzzlehttp/guzzle 6.2+

Installing

Use Composer to install it:, (*2)

composer require filippo-toso/qwant-unofficial-api

Using It

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);

The Versions

10/10 2017

dev-master

9999999-dev

Qwant Unofficial API client

  Sources   Download

MIT

The Requires

 

by Filippo Toso

10/10 2017

v1.0.0

1.0.0.0

Qwant Unofficial API client

  Sources   Download

MIT

The Requires

 

by Filippo Toso