This repository contains official demos for Capsolver in multiple programming languages.
python/: Python demosnodejs/: Node.js demosgo/: Go demosrust/: Rust demos
- A Capsolver API Key (Get one here)
- Navigate to the
pythondirectory. - Open
config.pyand replaceYOUR_API_KEYwith your actual API key. - Run the main script:
python main.py
- Select the demo you want to run from the menu.
- Navigate to the
nodejsdirectory. - Install dependencies:
npm install
- Open the specific task file you want to run in the
tasks/directory (e.g.,tasks/recaptcha_v2.js) and replaceYOUR_API_KEYwith your actual API key. - Run the main script:
npm start
- Select the demo you want to run from the menu.
- Navigate to the
godirectory. - Open the specific task file you want to run in the
tasks/directory (e.g.,tasks/recaptcha_v2.go) and replaceYOUR_API_KEYwith your actual API key. - Run the main script:
go run main.go
- Select the demo you want to run from the menu.
- Navigate to the
rustdirectory. - Open the specific task file you want to run in the
src/tasks/directory (e.g.,src/tasks/recaptcha_v2.rs) and replaceYOUR_API_KEYwith your actual API key. - Run the main script:
cargo run
- Select the demo you want to run from the menu.