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.
All API keys can be configured in the data/apikey.json
file.
ChatGPT, Anthropic/Claude, Groq
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.
The example code for integration:
var ChatGPT = require("lib/chatgpt"); // var Anthropic = require("lib/anthropic"); // if use Anthropic/Claude // var Grok = require("lib/grok"); // if use Grok (x.ai) // 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?", "qeeen never cry" ]; // Answering questions.forEach(function(x) { var answer = ChatGPT.chat(x); // var answer = Anthropic.chat(x); // if use Anthropic/Claude // var answer = Grok.chat(x); // if use Grok (x.ai) // var answer = Groq.chat(x); // if use Groq console.log("Answer:", answer); });
AbuseIPDB
AbuseIPDB is a service that allows you to check IP reputations or compile a blacklist of IPs associated with malicious activities. With AbuseIPDB, you can meet various requirements for pre-verifying IPs.
The example code for integration:
var IP_REPUTATION = require("lib/ip-reputation"); console.log(IP_REPUTATION.check("1.1.1.1"));
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 START10-1kbJd1Hr
.
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 the welcome credits of 100 free calls.
For more detailed information, please refer to the SERP page.
AviationStack (Partnership)
AviationStack provides features such as live flight tracking, historical flight data, airline routes lookup, as well as airport, airline, airplane, city, country, and aviation tax lookup, making it well-suited to meet the aviation-related requirements of previous Catswords services and projects.
You can use the API key at the path data/aviationstack-apikey.txt
.
The example code for integration:
var AVIATION = require("lib/aviation"); var departureFlightsData = AVIATION.getFlights({ "dep_iata": "ICN" // Incheon International Airport (Republic of Korea) }) console.log("Departure data:", departureFlightsData); var arrivalFlightsData = AVIATION.getFlights({ "arr_iata": "ICN" // Incheon International Airport (Republic of Korea) }) console.log("Arrival data:", arrivalFlightsData);
If you sign up now, you can receive credits of 100 free calls per month.
Coupang (Partnership)
Coupang is an online shopping and logistics company primarily targeting South Korean consumers. Sellers are distributed not only in South Korea but also in regions such as China, Japan, and the United States.
Through the Coupang API, WelsonJS can search for products currently being sold in the Korean market and integrate the results.
var COUPANG = require("lib/coupang"); var result = COUPANG.search("여성의류"); // keyword: woman clothes console.log(result);
You can test the Coupang API at the Caterpillar Proxy Console.
> set target https://azure-ashlan-40.tiiny.io/ > set method relay_invoke_method method(relay_invoke_method)> set requires https://pub-f926e14287b340cd9eff33731bb25329.r2.dev/coupang.class.php method(relay_invoke_method)> do load_script "$search = new CoupangProductSearch(); return $search->searchProducts('여성의류')" { "rCode": "0", "rMessage": "게시글 작성 시, \"파트너스 활동을 통해 일정액의 수수료를 제공받을 수 있음\"을 기재하셔야 합니다", "data": { "landingUrl": "https://link.coupang.com/re/AFFSRP?lptag=AF0662776&pageKey=%EC%97%AC%EC%84%B1%EC%9D%98%EB%A5%98&traceid=V0-163-bbb40f7ab75cb58a&requestid=20250101215113787007504828", "productData": [ { "productId": 7677918354, "productName": "cammello 셔링 포인트 슬림핏 긴팔 골지 니트 크롭티 블라우스", "productPrice": 17900, "productImage": "https://ads-partners.coupang.com/image1/m6Lpujj9a6EB9P5gmydZ2h9wwVNYAdz1HOO8NOdV6-KkIKm4lE-isp5h0QdueG4T8olSkZJAWlCZs3sVf1it7FvwGf9e2NpYbLaCG-b4xEcIbNVwezvmwFp-fJWjhpiJjse_rctsH32ApnbSqpTZZazoSJyMC9uudgANi1ED_5kCqtXg P1grERtlRJ4q46vvPfRRCz-PtmEl_xakxGat6VZtECeMY2Twd7-PeYsEuF_aLD7ucnGQtl4GwoJiZ1YkmaAkpvHC5v3hX9c3zSDlb1wF1FlbTyEq42WBdgn5L6c0-XkTMg==", "productUrl": "https://link.coupang.com/re/AFFSDP?lptag=AF0662776&pageKey=7677918354&itemId=20499860685&vendorItemId=87578244725&traceid=V0-153-12dd9b9aebaa81e8&requestid=20250101215113787007504828&token=31850C%7CMIXED", "categoryName": "패션의류", "keyword": "여성의류", "rank": 1, "isRocket": true, "isFreeShipping": true } } } }