{ "info": { "author": "BestCaptchaSolver", "author_email": "bcsolver@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "BestCaptchaSolver.com python2 API wrapper\n=========================================\n\nbestcaptchasolver-python2 is a super easy to use bypass captcha python2 API wrapper for bestcaptchasolver.com captcha service\n\n## Installation \n git clone https://github.com/bestcaptchasolver/bestcaptchasolver-python2\n\n## Dependencies\n pip install requests\n\n## Usage\n # make sure you've changed access_key, page_url, etc in main.py\n python main.py \n\n## How to use?\n\nSimply require the module, set the auth details and start using the captcha service:\n\n``` python\nfrom bestcaptchasolverapi2 import BestCaptchaSolverAPI\n```\nSet access_token for authentication\n\n``` python\naccess_token = 'access_token_here'\n# get your access token from https://bestcaptchasolver.com/account\nbcs = BestCaptchaSolverAPI(ACCESS_TOKEN)\n```\n\nOnce you've set your authentication details, you can start using the API\n\n**Get balance**\n\n``` python\nbalance = bcs.account_balance() \n```\n\n**Solve image captcha**\n\n``` python\ndata = {}\ndata['image'] = 'captcha.jpg'\n\n# optional parameters\ndata['is_case'] = if case sensitive set to True, default: False\ndata['is_phrase'] = if phrase, set to True, default: False\ndata['is_math'] = True if captcha is math, default: False\ndata['alphanumeric'] = 1 (digits only) or 2 (letters only), default: all characters\ndata['minlength'] = minimum length of captcha text, default: any\ndata['maxlength'] = maximum length of captcha text, default: any\n\nbcs.submit_image_captcha(data)\n```\nThe image submission works with both files and b64 encoded strings.\nFor setting the affiliate_id, set the `affiliate_id` parameter\n\n**Submit recaptcha details**\n\nFor recaptcha submission there are two things that are required.\n- page_url\n- site_key\n- type (optional)\n- v3_action (optional)\n- v3_min_score (optional)\n- user_agent (optional)\n- affiliate_id (optional)\n- proxy (optional)\n\n``` python\ncaptcha_id = bcs.submit_recaptcha({'page_url': 'page_url_here', 'site_key': 'sitekey_here') \n```\n\nThis method returns a captchaID. This ID will be used next, to retrieve the g-response, once workers have \ncompleted the captcha. This takes somewhere between 10-80 seconds.\n\n**Geetest**\n- domain\n- gt\n- challenge\n\n```python\ncaptcha_id = bcs.submit_geetest({'domain': 'DOMAIN_HERE', 'gt': 'GT_HERE', 'challenge': 'CHALLENGE_HERE'})\n```\n\nUse captcha_id to retrieve `solution` for geetest\n\n**Capy**\n- page_url\n- site_key\n\n```python\ncaptcha_id = bcs.submit_capy({'page_url': 'PAGE_URL_HERE', 'site_key': 'SITEKEY_HERE'})\n```\n\nUse captcha_id to retrieve `solution` for capy\n\n**Retrieve captcha response (all captchas)**\n\n```\nimage_text = bcs.retrieve(captcha_id)['text']\ngresponse = bcs.retrieve(recaptcha_id)['gresponse']\nsolution = bcs.retrieve(recaptcha_id)['solution']\n```\n\n**If submitted with proxy, get proxy status**\n```\nproxy_status = bcs.retrieve(recaptcha_id)['proxy_status']\n```\n\n**Set captcha bad**\n\nWhen a captcha was solved wrong by our workers, you can notify the server with it's ID,\nso we know something went wrong.\n\n``` python\nbcs.set_captcha_bad(captcha_id)\n```\n\n## Examples\nCheck main.py\n\n## License\nAPI library is licensed under the MIT License\n\n## More information\nMore details about the server-side API can be found [here](https://bestcaptchasolver.com/api )\n\n\ncaptcha, bypasscaptcha, decaptcher, decaptcha, 2captcha, deathbycaptcha, anticaptcha, \nbypassrecaptchav2, bypassnocaptcharecaptcha, bypassinvisiblerecaptcha, captchaservicesforrecaptchav2, \nrecaptchav2captchasolver, googlerecaptchasolver, recaptchasolverpython, recaptchabypassscript, bestcaptchasolver\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/bestcaptchasolver/bestcaptchasolver-python2", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bestcaptchasolver/bestcaptchasolver-python2", "keywords": "bestcaptchasolver,captcha,bypasscaptcha,decaptcher,decaptcha,2captcha,deathbycaptcha,anticaptcha,bypass-recaptcha-v2,google-recaptcha-solver,recaptcha-v2-captcha-solver,captcha-services-for-recaptcha-v2,bypass-invisible-recaptcha,bypass-no-captcha-recaptcha,recaptcha-solver-python,recaptcha-bypass-script", "license": "", "maintainer": "", "maintainer_email": "", "name": "bestcaptchasolverapi2", "package_url": "https://pypi.org/project/bestcaptchasolverapi2/", "platform": "", "project_url": "https://pypi.org/project/bestcaptchasolverapi2/", "project_urls": { "Download": "https://github.com/bestcaptchasolver/bestcaptchasolver-python2", "Homepage": "https://github.com/bestcaptchasolver/bestcaptchasolver-python2" }, "release_url": "https://pypi.org/project/bestcaptchasolverapi2/0.2/", "requires_dist": null, "requires_python": "", "summary": "Bestcaptchasolver python2 API library", "version": "0.2" }, "last_serial": 5873123, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "8ec35f4747e1c42650cf89f8429aa406", "sha256": "baa350a5dfcf4d3739076faf46ac9510a70e6a5cd2dcdfaab648caf016820dbd" }, "downloads": -1, "filename": "bestcaptchasolverapi2-0.1.tar.gz", "has_sig": false, "md5_digest": "8ec35f4747e1c42650cf89f8429aa406", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2057, "upload_time": "2018-05-11T15:06:03", "url": "https://files.pythonhosted.org/packages/fa/9f/c7b8d09a432aa165672b2eecd5114506844bbc9f0c366a2b867b34ea784a/bestcaptchasolverapi2-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "319dd3123e0854873436ff84693272fc", "sha256": "5c7d1cd60fce524bbf02898ef6dbc01458751707b937b440d81fc935cafdc1e8" }, "downloads": -1, "filename": "bestcaptchasolverapi2-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "319dd3123e0854873436ff84693272fc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4696, "upload_time": "2019-09-23T11:49:40", "url": "https://files.pythonhosted.org/packages/f8/4f/cb3da7194a1db775c6e8088e6fe028f36cd6120292ee3584db6201e57dd8/bestcaptchasolverapi2-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c81e5080052e397f6e8b2751d343209", "sha256": "2ec480f3514dfb082898174a1c136bc2e0b5c728253b48ade1ac6cbb77f5fe75" }, "downloads": -1, "filename": "bestcaptchasolverapi2-0.2.tar.gz", "has_sig": false, "md5_digest": "1c81e5080052e397f6e8b2751d343209", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4247, "upload_time": "2019-09-23T11:49:42", "url": "https://files.pythonhosted.org/packages/2c/1d/e5dbd471e7f9f6de6abeed8b1ec68249d00ffcf2d82b4362fd9e53557136/bestcaptchasolverapi2-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "319dd3123e0854873436ff84693272fc", "sha256": "5c7d1cd60fce524bbf02898ef6dbc01458751707b937b440d81fc935cafdc1e8" }, "downloads": -1, "filename": "bestcaptchasolverapi2-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "319dd3123e0854873436ff84693272fc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4696, "upload_time": "2019-09-23T11:49:40", "url": "https://files.pythonhosted.org/packages/f8/4f/cb3da7194a1db775c6e8088e6fe028f36cd6120292ee3584db6201e57dd8/bestcaptchasolverapi2-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c81e5080052e397f6e8b2751d343209", "sha256": "2ec480f3514dfb082898174a1c136bc2e0b5c728253b48ade1ac6cbb77f5fe75" }, "downloads": -1, "filename": "bestcaptchasolverapi2-0.2.tar.gz", "has_sig": false, "md5_digest": "1c81e5080052e397f6e8b2751d343209", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4247, "upload_time": "2019-09-23T11:49:42", "url": "https://files.pythonhosted.org/packages/2c/1d/e5dbd471e7f9f6de6abeed8b1ec68249d00ffcf2d82b4362fd9e53557136/bestcaptchasolverapi2-0.2.tar.gz" } ] }