Integrations
Integrations are examples of commercial APIs or applications that can be integrated with WelsonJS. They are integrated with services that have the same or similar use cases based on actual user experiences. If you sign up for any services that are in partnership with us, the revenue generated will be used to improve the WelsonJS project.
ScapeOps Proxy Aggregator (Partnership)
SearchApi (Partnership)
ChatGPT or Anthropic/Claude
The WelsonJS project supports integration with the ChatGPT or Anthropic/Claude API. It can be linked to control input devices (such as mouse and keyboard), applications (like Microsoft Office), and the Windows system functions in real-time.
You can use the API key at the path data/chatgpt-apikey.txt
(ChatGPT) or data/anthropic-apikey.txt
(Anthropic/Claude)
var ChatGPT = require("lib/chatgpt"); // var Anthropic = require("lib/anthropic"); // if use Anthropic/Claude // var Groq = require("lib/groq"); // if use Groq // List of questions var questions = [ "Which one does Mom like, and which one does Dad like?", "If 100 billion won is deposited into my bank account without my knowledge, what would I do?", "If my friend passed out from drinking, and Arnold Schwarzenegger suggests having a drink together alone, is it okay to ditch my friend and go with him?", "If there's a snake in our tent during the company camping trip, should I wake up the manager, or should I escape on my own without waking him up?" ]; // Answering questions.forEach(function(x) { var answer = ChatGPT.chat(x); // var answer = Anthropic.chat(x); // if use Anthropic/Claude // var answer = Groq.chat(x); // if use Groq console.log("Answer:", answer); });
ScrapeOps Proxy Aggregator (Partnership)
In the use cases of the WelsonJS project, the utilization of commercial proxy APIs is very common. Among them, ScrapeOps can be used in this project without complex integration tasks.
The example code for integration:
var HTTP = require("lib/http"); var response = HTTP.create() .setVariables({ "api_key": "YOUR_API_KEY", "render_js": "false", "residential": "false", "country": "us", "keep_headers": "false" }) .setProxy({ "enabled": true, "provider": "scrapeops", "type": "stateless" }) .open("GET", "https://example.org") .send(); console.log("responseBody:", response.responseBody);
If you sign up now, you can receive credits of 1,000 free calls + 0.5GB free per month.
Additionally, a 10% discount coupon is available gnh10
.
SearchApi (Partnership)
SearchApi can retrieve data from public search engines like Google, Bing, Baidu, and websites like YouTube, Amazon.
The example code for integration:
var HTTP = require("lib/http"); var response = HTTP.create() .setVariables({ "api_key": "YOUR_API_KEY" }) .setProxy({ "enabled": true, "provider": "searchapi", "type": "serp" }) .open("GET", "https://www.google.com/search?q=test") .send(); console.log("responseBody:", response.responseBody);
If you sign up now, you can receive credits of 100 free calls per month.
For more detailed information, please refer to the SERP page.