Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
VirusNoirrr authored Mar 11, 2024
1 parent 9462dfd commit ddfba25
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ userAgent = "" # User agent (optional)
rqdata = "" # RQData (optional)
solver = ProCap(apikey)
captchaToken = solver.solve(url=url, sitekey=sitekey, proxy=proxy, userAgent=userAgent, rqdata=rqdata)
print(f"Captcha token : {captchaToken}")
```

* 2 - Example 2 (Create task)
Expand All @@ -43,6 +44,7 @@ captchaTask.message # Message
captchaTask.success # Success [True or False]
captchaTask.token # Captcha Token (if solved)
captchaTask.challengeKey # Captcha challenge key
captchaTask.response # Get api full response
```

* 3 - Example (Get Task Result)
Expand All @@ -58,13 +60,20 @@ captchaTask.message # Message
captchaTask.success # Success [True or False]
captchaTask.token # Captcha Token (if solved)
captchaTask.challengeKey # Captcha challenge key
captchaTask.response # Get api full response
```

* 4 - Example (Get balance)
* 4 - Example (Get account information)
```python
from ProCap import ProCap
apikey = "" # Api key (required)
solver = ProCap(apikey)
balance = solver.get_balance()
print(f"Your balance is {balance}$")
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 full response
```

0 comments on commit ddfba25

Please sign in to comment.