2017 © Pedro Peláez
 

library php7-duckduckgo

Unofficial library using the DuckDuckGo API with php 7

image

emersonsm/php7-duckduckgo

Unofficial library using the DuckDuckGo API with php 7

  • Wednesday, August 23, 2017
  • by emersonsm
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 100 % Grown

The README.md

php7-duckduckgo

An unofficial library using the DuckDuckGo API., (*1)

Notes

This API requires PHP v7.0 or higher., (*2)

To use the DuckDuckGo API in your application, just use a namespace, instance a class and receive an object response, as displayed in the example., (*3)

Example

<?php

use DuckDuckGo\Api;

$api = new Api();
$response = $api->zeroClickQuery("What is the meaning of life?");
echo $response->AbstractText;

This will reproduce:, (*4)

The meaning of life, or the answer to the question "What is the meaning of life?", pertains to the significance of living or existence in general. Many other related questions include "Why are we here?", "What is life all about?", or "What is the purpose of existence?" There have been a large number of proposed answers to these questions from many different cultural and ideological backgrounds. The search for life's meaning has produced much philosophical, scientific, theological, and metaphysical speculation throughout history. Different people and cultures believe different things for the answer to this question., (*5)

Help?

Any help, you can use issues system., (*6)

The Versions

23/08 2017

dev-master

9999999-dev

Unofficial library using the DuckDuckGo API with php 7

  Sources   Download

The Requires

 

api search duckduckgo

23/08 2017

0.0.1

0.0.1.0

Unofficial library using the DuckDuckGo API with php 7

  Sources   Download

The Requires

 

api search duckduckgo