+2
-2
| import axios from "axios"; | ||
| export default class SearcherO{ | ||
| constructor(options = {"api-key": ""}){ | ||
| this.key = options["api-key"] | ||
| constructor(options = {"apikey": ""}){ | ||
| this.key = options["apikey"] | ||
| } | ||
@@ -7,0 +7,0 @@ async search(query){ |
+1
-1
| { | ||
| "name": "searchero", | ||
| "version": "1.0.2", | ||
| "version": "1.0.4", | ||
| "description": "searchero is an npm package that uses 4 different search engines and perplexity AI to search and summarize a given topic", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
+9
-5
| #SearcherO - An NPM package for Searching and Summaries. | ||
| SearcherO allows you to summarize different searches from different search engines. | ||
| SearcherO has two APIs: Search API and Summary API | ||
| Search API - returns a list of searches from all the search engines | ||
| Summary API - returns a list of searches and summaries from all the search engines. | ||
| for example, searching "US politics" or "Economic news" will get searches from multiple search engines and then it will summarize all the searches using perplexity's api. | ||
@@ -21,5 +25,5 @@ | ||
| 1. const searches = await obj.search(<search query>) | ||
| 1. const searches = await obj.search(<search query>) //this returns a query of all the searches from all of the listed search engines below. | ||
| 2. const summaries = await obj.summary(<search query>) | ||
| 2. const summaries = await obj.summary(<search query>) //same thing except it also returns a summary of all the listed search engines below too. | ||
@@ -38,7 +42,7 @@ list of search engines SearcherO uses: | ||
| 1. search API pricing $0.10 per request | ||
| 1. search API pricing $0.05 per request | ||
| 2. summary API pricing $0.20 per request | ||
| 2. summary API pricing $0.10 per request | ||
| P.S you get a free $1 credit | ||
2974
11.14%47
9.3%