Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jepayne1138/PTCAccount
Automatic creation of Pokémon Trainer Club accounts
https://github.com/jepayne1138/PTCAccount
Last synced: 3 months ago
JSON representation
Automatic creation of Pokémon Trainer Club accounts
- Host: GitHub
- URL: https://github.com/jepayne1138/PTCAccount
- Owner: jepayne1138
- License: bsd-3-clause
- Created: 2016-07-29T08:40:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-11T16:13:11.000Z (over 8 years ago)
- Last Synced: 2024-05-02T12:38:36.097Z (7 months ago)
- Language: Python
- Size: 19.5 KB
- Stars: 38
- Watchers: 9
- Forks: 17
- Open Issues: 7
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
Pokemon Trainer Club Account Creator v1.2.1
===========================================Description
-----------
Automatically creates Pokemon Trainer Club accounts. When fully implemented, will allow for specifying the specific values used or can randomly generate usernames, passwords, and emails. A possible future goal might be to create a temporary email to receive and validate the confirmation email.Use
---
**Command line interface:**After installing the package run 'ptc' from the terminal to create a new account.
Optional parameters include *--username*, *--password*, and *--email*.
Use *--help* for command line interface help.Example 1 (Create entirely random new account)::
> ptc
Created new account:
Username: dGXJXnAzxqmjbaP
Password: yUbiAgcXhBrEwHk
Email : [email protected]Example 2 (Create a new account with specified parameters)::
> ptc --username=mycustomusername --password=hunter2 [email protected]
Created new account:
Username: mycustomusername
Password: hunter2
Email : [email protected]Extra Options:
- *--email-tag*: Add the username as a tag to the email (e.g. [email protected]).
**As package:**
Import the *ptcaccount* package to create new accounts in your own scripts::
>>> from ptcaccount import random_account
>>> random_account()
{'username': 'dGXJXnAzxqmjbaP', 'password': 'yUbiAgcXhBrEwHk', 'email': '[email protected]', 'provider': 'ptc'}Installation
------------
Supports Python 2 and 3.Install from Github using pip::
pip install git+https://github.com/jepayne1138/[email protected]