ampareduckduckgo-jsapi
v1.0.1
Published
An Super Easy Javascript String Framework To Access DuckDuckGo Public API
Downloads
2
Maintainers
Readme
Ampare-DuckduckGo-JS
An Super Easy Javascript String Framework To Access DuckDuckGo Public API
How To Use
Just Chain DuckDuckGo Method After Any String. It will return an Object.
Example
"Facebook".DuckDuckGo();
"Github".DuckDuckGo();
Return
{
"AbstractSource" : "Wikipedia",
"Definition" : "",
"ImageIsLogo" : 1,
"Image" : "https://duckduckgo.com/i/6b2dd894.png",
"Infobox" : {
"meta" : [
{
"value" : "GitHub",
"data_type" : "string",
"label" : "article_title"
},
{
"value" : "infobox dot-com company",
"data_type" : "string",
"label" : "template_name"
}
],
"content" : [
{
"label" : "Type of site",
"wiki_order" : 0,
"value" : "Git repository hosting service",
"data_type" : "string"
},
{
"label" : "Available in",
"wiki_order" : 1,
"value" : "English",
"data_type" : "string"
},
{
"value" : "Feb 8, 2008",
"data_type" : "string",
"wiki_order" : 2,
"label" : "Founded"
},
{
"label" : "Area served",
"value" : "Worldwide",
"data_type" : "string",
"wiki_order" : 3
},
{
"value" : "Tom Preston-Werner, Chris Wanstrath, PJ Hyett",
"data_type" : "string",
"wiki_order" : 4,
"label" : "Founder(s)"
},
{
"wiki_order" : 5,
"data_type" : "string",
"value" : "Chris Wanstrath",
"label" : "CEO"
},
{
"wiki_order" : 6,
"data_type" : "string",
"value" : "P. J. Hyett (COO)",
"label" : "Key people"
},
{
"data_type" : "string",
"value" : "Software",
"wiki_order" : 7,
"label" : "Industry"
},
{
"label" : "Employees",
"value" : "732",
"data_type" : "string",
"wiki_order" : 8
},
{
"label" : "Slogan(s)",
"wiki_order" : 9,
"data_type" : "string",
"value" : "\"Build software better, together.\", \"Where software is built\""
},
{
"label" : "Website",
"data_type" : "string",
"value" : "GitHub.com",
"wiki_order" : 10
},
{
"wiki_order" : 11,
"data_type" : "string",
"value" : "66 (Dec 04, 2017)",
"label" : "Alexa rank"
},
{
"label" : "Registration",
"wiki_order" : 12,
"data_type" : "string",
"value" : "Optional (required for creating and joining projects)"
},
{
"wiki_order" : 13,
"data_type" : "string",
"value" : "26 million (March 2017)",
"label" : "Users"
},
{
"wiki_order" : 14,
"value" : "Apr 10, 2008",
"data_type" : "string",
"label" : "Launched"
},
{
"label" : "Current status",
"wiki_order" : 15,
"data_type" : "string",
"value" : "Active"
},
{
"label" : "Written in",
"wiki_order" : 16,
"data_type" : "string",
"value" : "Ruby"
},
{
"value" : "github",
"data_type" : "github_profile",
"wiki_order" : "101",
"label" : "GitHub profile"
},
{
"label" : "Twitter profile",
"wiki_order" : "102",
"data_type" : "twitter_profile",
"value" : "GitHub"
},
{
"label" : "Facebook profile",
"value" : "GitHub",
"data_type" : "facebook_profile",
"wiki_order" : "104"
},
{
"wiki_order" : "105",
"value" : "UC7c3Kb6jYCRj4JOHHZTxKsQ",
"data_type" : "youtube_channel",
"label" : "Youtube channel"
},
{
"label" : "Instance of",
"value" : {
"id" : "Q588365",
"entity-type" : "item",
"numeric-id" : 588365
},
"data_type" : "instance",
"wiki_order" : "207"
}
]
},
"Heading" : "GitHub",
"ImageHeight" : 200,
"Answer" : "",
"ImageWidth" : 680,
"Abstract" : "GitHub is a web-based Git version control repository hosting service. It is mostly used for computer code. It offers all of the distributed version control and source code management functionality of Git as well as adding its own features. It provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project.",
"AnswerType" : "",
"RelatedTopics" : [
{
"FirstURL" : "https://duckduckgo.com/c/GitHub",
"Result" : "<a href=\"https://duckduckgo.com/c/GitHub\">GitHub Category</a>",
"Text" : "GitHub Category",
"Icon" : {
"Width" : "",
"Height" : "",
"URL" : ""
}
},
{
"FirstURL" : "https://duckduckgo.com/Collaborative_innovation_network",
"Result" : "<a href=\"https://duckduckgo.com/Collaborative_innovation_network\">Collaborative innovation network</a> - Collaborative innovation is a process in which multiple players contribute towards creating and developing new products, services, processes and business solutions.",
"Text" : "Collaborative innovation network - Collaborative innovation is a process in which multiple players contribute towards creating and developing new products, services, processes and business solutions.",
"Icon" : {
"Height" : "",
"URL" : "",
"Width" : ""
}
},
{
"Icon" : {
"Height" : "",
"URL" : "",
"Width" : ""
},
"Text" : "Collaborative intelligence - Collaborative intelligence characterizes multi-agent, distributed systems where each agent, human or machine, is uniquely positioned, with autonomy to contribute to a problem-solving network. Collaborative autonomy of organisms in their ecosystems makes evolution possible.",
"Result" : "<a href=\"https://duckduckgo.com/Collaborative_intelligence\">Collaborative intelligence</a> - Collaborative intelligence characterizes multi-agent, distributed systems where each agent, human or machine, is uniquely positioned, with autonomy to contribute to a problem-solving network. Collaborative autonomy of organisms in their ecosystems makes evolution possible.",
"FirstURL" : "https://duckduckgo.com/Collaborative_intelligence"
},
{
"FirstURL" : "https://duckduckgo.com/Commons-based_peer_production",
"Icon" : {
"Width" : "",
"Height" : "",
"URL" : ""
},
"Text" : "Commons-based peer production - Commons-based peer production is a term coined by Harvard Law School professor Yochai Benkler. It describes a new model of socioeconomic production in which large numbers of people work cooperatively.",
"Result" : "<a href=\"https://duckduckgo.com/Commons-based_peer_production\">Commons-based peer production</a> - Commons-based peer production is a term coined by Harvard Law School professor Yochai Benkler. It describes a new model of socioeconomic production in which large numbers of people work cooperatively."
},
{
"FirstURL" : "https://duckduckgo.com/c/Open-source_software_hosting_facilities",
"Text" : "Open-source software hosting facilities",
"Result" : "<a href=\"https://duckduckgo.com/c/Open-source_software_hosting_facilities\">Open-source software hosting facilities</a>",
"Icon" : {
"Width" : "",
"URL" : "",
"Height" : ""
}
},
{
"FirstURL" : "https://duckduckgo.com/c/Project_hosting_websites",
"Icon" : {
"Width" : "",
"URL" : "",
"Height" : ""
},
"Text" : "Project hosting websites",
"Result" : "<a href=\"https://duckduckgo.com/c/Project_hosting_websites\">Project hosting websites</a>"
},
{
"Text" : "Git (software)",
"Result" : "<a href=\"https://duckduckgo.com/c/Git_(software)\">Git (software)</a>",
"Icon" : {
"Height" : "",
"URL" : "",
"Width" : ""
},
"FirstURL" : "https://duckduckgo.com/c/Git_(software)"
},
{
"FirstURL" : "https://duckduckgo.com/c/Version_control",
"Icon" : {
"Width" : "",
"URL" : "",
"Height" : ""
},
"Text" : "Version control",
"Result" : "<a href=\"https://duckduckgo.com/c/Version_control\">Version control</a>"
},
{
"FirstURL" : "https://duckduckgo.com/c/Bug_and_issue_tracking_software",
"Icon" : {
"Height" : "",
"URL" : "",
"Width" : ""
},
"Text" : "Bug and issue tracking software",
"Result" : "<a href=\"https://duckduckgo.com/c/Bug_and_issue_tracking_software\">Bug and issue tracking software</a>"
},
{
"FirstURL" : "https://duckduckgo.com/c/Computing_websites",
"Result" : "<a href=\"https://duckduckgo.com/c/Computing_websites\">Computing websites</a>",
"Text" : "Computing websites",
"Icon" : {
"Width" : "",
"Height" : "",
"URL" : ""
}
},
{
"FirstURL" : "https://duckduckgo.com/c/Collaborative_projects",
"Icon" : {
"Width" : "",
"URL" : "",
"Height" : ""
},
"Text" : "Collaborative projects",
"Result" : "<a href=\"https://duckduckgo.com/c/Collaborative_projects\">Collaborative projects</a>"
},
{
"Icon" : {
"Width" : "",
"Height" : "",
"URL" : ""
},
"Result" : "<a href=\"https://duckduckgo.com/c/South_of_Market%2C_San_Francisco\">South of Market, San Francisco</a>",
"Text" : "South of Market, San Francisco",
"FirstURL" : "https://duckduckgo.com/c/South_of_Market%2C_San_Francisco"
},
{
"FirstURL" : "https://duckduckgo.com/c/Project_management_software",
"Text" : "Project management software",
"Result" : "<a href=\"https://duckduckgo.com/c/Project_management_software\">Project management software</a>",
"Icon" : {
"Width" : "",
"Height" : "",
"URL" : ""
}
},
{
"Icon" : {
"Height" : "",
"URL" : "",
"Width" : ""
},
"Result" : "<a href=\"https://duckduckgo.com/c/Cloud_computing_providers\">Cloud computing providers</a>",
"Text" : "Cloud computing providers",
"FirstURL" : "https://duckduckgo.com/c/Cloud_computing_providers"
},
{
"FirstURL" : "https://duckduckgo.com/c/Technology_companies_of_the_United_States",
"Icon" : {
"URL" : "",
"Height" : "",
"Width" : ""
},
"Text" : "Technology companies of the United States",
"Result" : "<a href=\"https://duckduckgo.com/c/Technology_companies_of_the_United_States\">Technology companies of the United States</a>"
},
{
"Icon" : {
"Height" : "",
"URL" : "",
"Width" : ""
},
"Result" : "<a href=\"https://duckduckgo.com/c/Community_websites\">Community websites</a>",
"Text" : "Community websites",
"FirstURL" : "https://duckduckgo.com/c/Community_websites"
},
{
"Text" : "Cross-platform software",
"Result" : "<a href=\"https://duckduckgo.com/c/Cross-platform_software\">Cross-platform software</a>",
"Icon" : {
"Width" : "",
"Height" : "",
"URL" : ""
},
"FirstURL" : "https://duckduckgo.com/c/Cross-platform_software"
}
],
"Results" : [
{
"Result" : "<a href=\"https://github.com/\"><b>Official site</b></a><a href=\"https://github.com/\"></a>",
"Text" : "Official site",
"Icon" : {
"URL" : "https://duckduckgo.com/i/github.com.ico",
"Height" : 16,
"Width" : 16
},
"FirstURL" : "https://github.com/"
}
],
"Redirect" : "",
"Entity" : "company",
"DefinitionSource" : "",
"DefinitionURL" : "",
"Type" : "A",
"AbstractText" : "GitHub is a web-based Git version control repository hosting service. It is mostly used for computer code. It offers all of the distributed version control and source code management functionality of Git as well as adding its own features. It provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project.",
"AbstractURL" : "https://en.wikipedia.org/wiki/GitHub",
"meta" : {
"signal_from" : "wikipedia_fathead",
"repo" : "fathead",
"live_date" : null,
"is_stackexchange" : null,
"js_callback_name" : "wikipedia",
"designer" : null,
"description" : "Wikipedia",
"producer" : null,
"created_date" : null,
"example_query" : "nikola tesla",
"dev_milestone" : "live",
"src_options" : {
"skip_abstract_paren" : 0,
"skip_qr" : "",
"skip_icon" : 0,
"source_skip" : "",
"language" : "en",
"skip_image_name" : 0,
"directory" : "",
"skip_end" : "0",
"min_abstract_length" : "20",
"skip_abstract" : 0,
"is_mediawiki" : 1,
"is_wikipedia" : 1,
"src_info" : "",
"is_fanon" : 0
},
"src_name" : "Wikipedia",
"developer" : [
{
"name" : "DDG Team",
"url" : "http://www.duckduckhack.com",
"type" : "ddg"
}
],
"tab" : "About",
"unsafe" : 0,
"name" : "Wikipedia",
"src_id" : 1,
"blockgroup" : null,
"attribution" : null,
"maintainer" : {
"github" : "duckduckgo"
},
"topic" : [
"productivity"
],
"src_domain" : "en.wikipedia.org",
"dev_date" : null,
"status" : "live",
"production_state" : "online",
"id" : "wikipedia_fathead",
"perl_module" : "DDG::Fathead::Wikipedia",
"src_url" : null
}
}
Good Fork and Contribution is always appreciated! :+1:
Made with Love By Juthawong Naisanguansee From Bangkok , Thailand :heart: :thailand:
Don't forget to visit my startup company website : http://www.ampareengine.com