# ProCap
ProCap is a captcha solving service that handle help you to bypass various type of captchas
# Installation
```
pip install procap
```
### ⚠️ Requirements
* Apikey : **Join [ProCap](https://procap.wtf/), to get api key**
### 💡 Examples
* 1 - Example (hCaptcha Solve)
```python
from ProCap import ProCap
apikey = "" # Api key (required)
url = "" # Link to captcha (required)
sitekey = "" # Sitekey (required)
proxy = "" # Proxy (optional)
userAgent = "" # User agent (optional)
rqdata = "" # RQData (optional)
solver = ProCap(apikey)
captchaToken = solver.solve(url=url, sitekey=sitekey, proxy=proxy, userAgent=userAgent, rqdata=rqdata, type="hCaptchaTask")
print(f"Captcha token : {captchaToken}")
```
* 2 - Example 2 (Create task for hCaptcha)
```python
from ProCap import ProCap
apikey = "" # Api key (required)
url = "" # Link to captcha (required)
sitekey = "" # Sitekey (required)
proxy = "" # Proxy (optional)
userAgent = "" # User agent (optional)
rqdata = "" # RQData (optional)
solver = ProCap(apikey)
captchaTask = solver.createTask(url=url, sitekey=sitekey, proxy=proxy, userAgent=userAgent, rqdata=rqdata, type="hCaptchaTask")
captchaTask.id # Task id
captchaTask.time # Time taken
captchaTask.message # Message
captchaTask.success # Success [True or False]
captchaTask.token # Captcha Token (if solved)
captchaTask.challengeKey # Captcha challenge key
captchaTask.response # Get api json response
```
* 3 - Example (Get Task Result)
```python
from ProCap import ProCap
apikey = "" # Your api key
solver = ProCap(apikey)
id = "Challenge ID"
captchaTask = solver.checkTask(id)
captchaTask.id # Task id
captchaTask.time # Time taken
captchaTask.message # Message
captchaTask.success # Success [True or False]
captchaTask.token # Captcha Token (if solved)
captchaTask.challengeKey # Captcha challenge key
captchaTask.response # Get api json response
```
* 4 - Example (Get account information)
```python
from ProCap import ProCap
apikey = "" # Api key (required)
solver = ProCap(apikey)
user = solver.get_balance()
user.balance # Get user balance
user.daily_limit # Get user daily limit
user.next_reset # Get user next credits reset
user.daily_used # Get user daily used
user.daily_remaining # Get user daily remaining
user.plan_expire # Get user plan expiration
user.response # Get api json response
```
Raw data
{
"_id": null,
"home_page": null,
"name": "procap",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "python, captcha, solver, hcaptcha, procap, captcha solver, hcaptcha solver, captcha bypass, cheap solver, cheap captcha solver, cheap hcaptcha solver",
"author": "ProCap",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/06/b0/125eb768a77d1ddffab87df9452516b33457d640b34e9d4a41bf9f812f49/procap-0.1.2.tar.gz",
"platform": null,
"description": "# ProCap\r\nProCap is a captcha solving service that handle help you to bypass various type of captchas\r\n\r\n# Installation\r\n```\r\npip install procap\r\n```\r\n\r\n### \u26a0\ufe0f Requirements\r\n* Apikey : **Join [ProCap](https://procap.wtf/), to get api key**\r\n\r\n### \ud83d\udca1 Examples\r\n\r\n* 1 - Example (hCaptcha Solve)\r\n\r\n```python\r\nfrom ProCap import ProCap\r\napikey = \"\" # Api key (required)\r\nurl = \"\" # Link to captcha (required)\r\nsitekey = \"\" # Sitekey (required)\r\nproxy = \"\" # Proxy (optional)\r\nuserAgent = \"\" # User agent (optional)\r\nrqdata = \"\" # RQData (optional)\r\nsolver = ProCap(apikey)\r\ncaptchaToken = solver.solve(url=url, sitekey=sitekey, proxy=proxy, userAgent=userAgent, rqdata=rqdata, type=\"hCaptchaTask\")\r\nprint(f\"Captcha token : {captchaToken}\")\r\n```\r\n\r\n* 2 - Example 2 (Create task for hCaptcha)\r\n\r\n```python\r\nfrom ProCap import ProCap\r\napikey = \"\" # Api key (required)\r\nurl = \"\" # Link to captcha (required)\r\nsitekey = \"\" # Sitekey (required)\r\nproxy = \"\" # Proxy (optional)\r\nuserAgent = \"\" # User agent (optional)\r\nrqdata = \"\" # RQData (optional)\r\nsolver = ProCap(apikey)\r\ncaptchaTask = solver.createTask(url=url, sitekey=sitekey, proxy=proxy, userAgent=userAgent, rqdata=rqdata, type=\"hCaptchaTask\")\r\ncaptchaTask.id # Task id\r\ncaptchaTask.time # Time taken\r\ncaptchaTask.message # Message\r\ncaptchaTask.success # Success [True or False]\r\ncaptchaTask.token # Captcha Token (if solved)\r\ncaptchaTask.challengeKey # Captcha challenge key\r\ncaptchaTask.response # Get api json response\r\n```\r\n\r\n* 3 - Example (Get Task Result)\r\n```python\r\nfrom ProCap import ProCap\r\napikey = \"\" # Your api key\r\nsolver = ProCap(apikey)\r\nid = \"Challenge ID\" \r\ncaptchaTask = solver.checkTask(id)\r\ncaptchaTask.id # Task id\r\ncaptchaTask.time # Time taken\r\ncaptchaTask.message # Message\r\ncaptchaTask.success # Success [True or False]\r\ncaptchaTask.token # Captcha Token (if solved)\r\ncaptchaTask.challengeKey # Captcha challenge key\r\ncaptchaTask.response # Get api json response\r\n```\r\n\r\n* 4 - Example (Get account information)\r\n```python\r\nfrom ProCap import ProCap\r\napikey = \"\" # Api key (required)\r\nsolver = ProCap(apikey)\r\nuser = solver.get_balance()\r\nuser.balance # Get user balance\r\nuser.daily_limit # Get user daily limit\r\nuser.next_reset # Get user next credits reset\r\nuser.daily_used # Get user daily used\r\nuser.daily_remaining # Get user daily remaining\r\nuser.plan_expire # Get user plan expiration\r\nuser.response # Get api json response\r\n```\r\n",
"bugtrack_url": null,
"license": null,
"summary": "ProCap is a captcha solving service.",
"version": "0.1.2",
"project_urls": null,
"split_keywords": [
"python",
" captcha",
" solver",
" hcaptcha",
" procap",
" captcha solver",
" hcaptcha solver",
" captcha bypass",
" cheap solver",
" cheap captcha solver",
" cheap hcaptcha solver"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4cdbf4512a7c6a4ef30d1e9348961be9c7bf521543e9ceead2afa3d5aadf9692",
"md5": "a274c9f779c31ca24be46ea4a7873f17",
"sha256": "0429c32747e939fc4792ab532a8fb3e35d8b0dc850cfabf7079be940db1b6213"
},
"downloads": -1,
"filename": "procap-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a274c9f779c31ca24be46ea4a7873f17",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2792,
"upload_time": "2024-05-07T16:47:53",
"upload_time_iso_8601": "2024-05-07T16:47:53.323675Z",
"url": "https://files.pythonhosted.org/packages/4c/db/f4512a7c6a4ef30d1e9348961be9c7bf521543e9ceead2afa3d5aadf9692/procap-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "06b0125eb768a77d1ddffab87df9452516b33457d640b34e9d4a41bf9f812f49",
"md5": "7f920893f413e07963e933295862b897",
"sha256": "5923ff964f02e8174600a7d4f6c432bbfcb871754f7f8f5868cb3a869fe0f6da"
},
"downloads": -1,
"filename": "procap-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "7f920893f413e07963e933295862b897",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2871,
"upload_time": "2024-05-07T16:47:55",
"upload_time_iso_8601": "2024-05-07T16:47:55.036579Z",
"url": "https://files.pythonhosted.org/packages/06/b0/125eb768a77d1ddffab87df9452516b33457d640b34e9d4a41bf9f812f49/procap-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-07 16:47:55",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "procap"
}