Skip to content

Rename API key environment variable to ANTICAPTCHA_API_KEY#135

Merged
ad-m merged 1 commit intomasterfrom
claude/update-env-var-tests-yQEeM
Mar 8, 2026
Merged

Rename API key environment variable to ANTICAPTCHA_API_KEY#135
ad-m merged 1 commit intomasterfrom
claude/update-env-var-tests-yQEeM

Conversation

@ad-m
Copy link
Owner

@ad-m ad-m commented Mar 8, 2026

Summary

Standardized the environment variable name used for the Anti-captcha API key across the codebase from the generic KEY to the more descriptive ANTICAPTCHA_API_KEY.

Changes

  • Updated all example scripts to use ANTICAPTCHA_API_KEY environment variable instead of KEY
  • Updated test configuration to check for ANTICAPTCHA_API_KEY in the skip condition
  • Updated GitHub Actions workflow to pass the API key using the new environment variable name
  • Updated error message to reference the new variable name

Files Modified

  • 18 example files in the examples/ directory
  • Test configuration in tests/test_examples.py
  • CI/CD workflow in .github/workflows/e2e.yml

This change improves code clarity by using a more explicit and self-documenting environment variable name, making it easier for users to understand what API key is required.

https://claude.ai/code/session_01LZBUxCzwYksGZmqotE2s6z

…amples

Now that the library has generic support for the ANTICAPTCHA_API_KEY
environment variable, use it consistently across all examples, e2e tests,
and CI workflow instead of the generic KEY variable.

https://claude.ai/code/session_01LZBUxCzwYksGZmqotE2s6z
@ad-m ad-m merged commit 454e513 into master Mar 8, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants