This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@apiverve/duckduckgosearch

1.0.3 • Public • Published

DuckDuckGo Search API

DuckDuckGo Search is a simple tool for searching DuckDuckGo. It returns the search results from DuckDuckGo.

Build Status Code Climate Prod Ready

This is a Javascript Wrapper for the DuckDuckGo Search API


Installation

npm install @apiverve/duckduckgosearch --save

Configuration

Before using the duckduckgosearch API client, you have to setup your account and obtain your API Key.
You can get it by signing up at https://apiverve.com


Usage

The DuckDuckGo Search API documentation is found here: https://docs.apiverve.com/api/duckduckgosearch.
You can find parameters, example responses, and status codes documented here.

Setup

var duckduckgosearchAPI = require('@apiverve/duckduckgosearch');
var api = new duckduckgosearchAPI({
    api_key: [YOUR_API_KEY],
    secure: true //(Optional, defaults to true)
});

Perform Request

Using the API client, you can perform requests to the API.

Define Query
var query = {
  query: "computer science"
};
Simple Request (using Callback)
api.execute(query, function (error, data) {
    if (error) {
        return console.error(error);
    } else {
        console.log(data);
    }
});
Example Response
{
  "status": "ok",
  "error": null,
  "data": {
    "query": "computer science",
    "count": 23,
    "results": [
      {
        "title": "Computer science - Wikipedia",
        "url": "https://en.wikipedia.org/wiki/Computer_science",
        "description": "Computer science. Computer science is the study of computation, information, and automation. [1] [2] [3] Computer science spans theoretical disciplines (such as algorithms, theory of computation, and information theory) to applied disciplines (including the design and implementation of hardware and software )."
      },
      {
        "title": "What Is Computer Science? Meaning, Jobs, and Degrees",
        "url": "https://www.coursera.org/articles/what-is-computer-science",
        "description": "Learn what computer science is, how it's used in various industries, and what careers you can pursue with a degree in this field. Explore the subfields, skills, salaries, and outlook of computer science jobs."
      },
      {
        "title": "What is Computer Science? - Codecademy",
        "url": "https://www.codecademy.com/resources/blog/what-is-computer-science/",
        "description": "Learn the basics of computer science, a field that covers everything from artificial intelligence and data science to robotics and cybersecurity. Find out how to get started, what careers are available, and how to prepare for a computer science career with courses from Codecademy."
      },
      {
        "title": "CS50: Introduction to Computer Science | Harvard Online Course",
        "url": "https://www.harvardonline.harvard.edu/course/cs50-introduction-computer-science",
        "description": "Learn the intellectual enterprises and art of programming with an online course from Harvard University. Topics include abstraction, algorithms, data structures, security, software engineering, and web development. Languages include C, Python, SQL, JavaScript, CSS, and HTML. Earn a certificate or audit the course for free."
      },
      {
        "title": "Computer science | Definition, Types, & Facts | Britannica",
        "url": "https://www.britannica.com/science/computer-science",
        "description": "Learn about the study of computers and computing, including their theoretical and algorithmic foundations, hardware and software, and their uses for processing information. Explore the history, subfields, and applications of computer science, as well as its interdisciplinary connections with other fields."
      },
      {
        "title": "CS50: Introduction to Computer Science | Harvard University",
        "url": "https://pll.harvard.edu/course/cs50-introduction-computer-science",
        "description": "A free online course that introduces the intellectual enterprises of computer science and the art of programming. Learn how to think algorithmically and solve problems efficiently with topics like abstraction, algorithms, data structures, encapsulation, security, software engineering, and web development. Familiarize yourself with languages like C, Python, SQL, and JavaScript plus CSS and HTML."
      },
      {
        "title": "HarvardX: CS50's Introduction to Computer Science | edX",
        "url": "https://www.edx.org/learn/computer-science/harvard-university-cs50-s-introduction-to-computer-science",
        "description": "Learn the basics of computer science and programming with Harvard University's CS50x course. Explore topics like algorithms, data structures, security, web development, and more with C, Python, SQL, and JavaScript."
      },
      {
        "title": "CS50: Computer Science Courses and Programs from Harvard",
        "url": "https://www.edx.org/cs50",
        "description": "Learn computer science, mobile app and game development, business technologies, and the art of programming with CS50, the largest course on the Harvard campus. Explore introductory CS50 courses and Professional Certificate programs from Harvard that are open to learners of all backgrounds."
      },
      {
        "title": "Computer science theory | Computing | Khan Academy",
        "url": "https://www.khanacademy.org/computing/computer-science",
        "description": "Learn select topics from computer science, such as algorithms, cryptography, and information theory, with interactive exercises and videos. Explore the history and applications of these concepts in various fields and contexts."
      },
      {
        "title": "Computer science - Latest research and news | Nature",
        "url": "https://www.nature.com/subjects/computer-science",
        "description": "Computer science is the study and development of the protocols required for automated processing and manipulation of data. This includes, for example, creating algorithms for efficiently searching ..."
      },
      {
        "title": "Harvard CS50 - Full Computer Science University Course",
        "url": "https://www.youtube.com/watch?v=8mAITcNt710",
        "description": "Learn the basics of computer science from Harvard University. This is CS50, an introduction to the intellectual enterprises of computer science and the art o..."
      },
      {
        "title": "Computer Science - Harvard University",
        "url": "https://www.harvard.edu/programs/computer-science/",
        "description": "The concentration in Computer Science is designed to teach students skills and ideas they will use immediately and in the future. Because information technology affects every aspect of society, graduates with computer science degrees have open to them an enormous variety of careers—engineering, teaching, medicine, law, basic science, entertainment, management, and countless others."
      },
      {
        "title": "Best Online Computer Science Courses and Programs - edX",
        "url": "https://www.edx.org/learn/computer-science",
        "description": "Learn computer science with online courses and programs from top universities and institutions. Explore topics such as coding, data science, artificial intelligence, and more."
      },
      {
        "title": "What to Know About Becoming a Computer Science Major",
        "url": "https://www.usnews.com/education/best-colleges/computer-science-major-overview",
        "description": "Computer science is a major for problem-solving students who want to learn how to use computers and computational processes to build websites, program robots, mine data and more."
      },
      {
        "title": "Best Computer Science Courses Online [2024] | Coursera",
        "url": "https://www.coursera.org/browse/computer-science",
        "description": "Learn computer science from top universities and industry experts on Coursera. Explore topics like software development, algorithms, cybersecurity, data science, and more. Earn certificates, degrees, or prepare for industry exams."
      },
      {
        "title": "Computing | Khan Academy",
        "url": "https://www.khanacademy.org/computing",
        "description": "Khan Academy offers free online courses and resources on various topics in computing, from introductory programming to advanced algorithms and data structures. Explore the fundamentals of computer science, the internet, AI, blockchain, and more with interactive lessons and exercises."
      },
      {
        "title": "What is Computer Science? | Undergraduate Computer Science at UMD",
        "url": "https://undergrad.cs.umd.edu/what-computer-science",
        "description": "Computer Science is the study of computers and computational systems, including software, hardware, and applications. Learn about the principal areas of study, the skills and knowledge graduates need, and the career opportunities in this field from the Undergraduate Computer Science Department at UMD."
      },
      {
        "title": "What Is a Computer Science Degree? | Coursera",
        "url": "https://www.coursera.org/articles/what-is-computer-science-degree",
        "description": "Learn about the benefits and options of getting a computer science degree, from associate to doctoral level. Explore common concentrations, in-demand careers, and salary expectations in the field of CS."
      },
      {
        "title": "Computer Science - MIT EECS - Massachusetts Institute of Technology",
        "url": "https://www.eecs.mit.edu/research/computer-science/",
        "description": "Learn about the theory and practice of computer science, from algorithms and systems to AI and human-computer interaction. Explore the subareas of computer science research at MIT EECS, such as AI for healthcare, machine learning, communications, educational technology, and more. Discover the latest news and events related to computer science at MIT."
      },
      {
        "title": "Computer Science | Harvard John A. Paulson School of Engineering and ...",
        "url": "https://seas.harvard.edu/computer-science",
        "description": "Learn about the computer science programs and research areas at the Harvard John A. Paulson School of Engineering and Applied Sciences. Explore the interdisciplinary initiatives and diversity goals of the department."
      },
      {
        "title": "Computer Science",
        "url": "https://www.cs.stanford.edu/",
        "description": "Our main educational goal is to prepare students for a rapidly changing world. Undergraduate students have the option of declaring a Bachelor of Science or a Minor in Computer Science. Graduate students have the opportunity to pursue a Master's or PhD degree in Computer Science. The Master's degree is a terminal professional degree."
      },
      {
        "title": "Best Computer Science Programs - U.S. News & World Report",
        "url": "https://www.usnews.com/best-graduate-schools/top-science-schools/computer-science-rankings",
        "description": "Ranked in 2024, part of Best Science Schools. Earning a graduate degree in computer science can lead to positions in research institutions, government agencies, technology companies and colleges ..."
      },
      {
        "title": "What is Computer Science? | Michigan Technological University",
        "url": "https://www.mtu.edu/cs/what/",
        "description": "Computer science is the foundation of all computing disciplines, including machine learning, natural language processing, security, and more. Learn about the careers, skills, and future of computer science at Michigan Tech, a college dedicated to computing education and research."
      }
    ]
  }
}

Customer Support

Need any assistance? Get in touch with Customer Support.


Updates

Stay up to date by following @apiverveHQ on Twitter.


Legal

All usage of the APIVerve website, API, and services is subject to the APIVerve Terms of Service and all legal documents and agreements.


License

Licensed under the The MIT License (MIT)

Copyright (©) 2024 APIVerve, and Evlar LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Package Sidebar

Install

npm i @apiverve/duckduckgosearch

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

18.8 kB

Total Files

5

Last publish

Collaborators

  • apivervehq
  • charifield