https://github.com/dancer/twitch
Username Checker
https://github.com/dancer/twitch
Last synced: 5 months ago
JSON representation
Username Checker
- Host: GitHub
- URL: https://github.com/dancer/twitch
- Owner: dancer
- License: mit
- Created: 2024-10-28T12:41:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-28T12:45:05.000Z (over 1 year ago)
- Last Synced: 2025-03-27T13:11:18.663Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Twitch Username Availability Checker
This script checks the availability of usernames on Twitch using the Twitch GraphQL API. It reads a list of usernames from a file and outputs the available and unavailable usernames to separate files.
## Prerequisites
- Python 3.6 or higher
- `aiohttp` library
- `colorama` library
## Installation
1. Clone the repository:
```bash
git clone https://github.com/dancer/twitch-username-checker.git
cd twitch-username-checker
```
2. Install the required Python packages:
```bash
pip install aiohttp colorama
```
## Usage
1. Create a `words.txt` file in the same directory as `twitch.py` and list the usernames you want to check, one per line.
2. Run the script:
```bash
python twitch.py
```
3. The script will output the available usernames to `available.txt` and the unavailable usernames to `unavailable.txt`.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Contributing
If you have suggestions for improvements or find a bug, feel free to open an issue or submit a pull request.
## Acknowledgments
- This script uses the Twitch GraphQL API to check username availability.