Errbot plugin to query https://crack.sh's API.
- Python 3+
!repos install https://github.com/frozenfoxx/err-cracksh
!plugin config CrackSh {'api_url': 'https://crack.sh/api', 'customer_id': '', 'email': ''}
Default configuration:
!plugin config CrackSh {'api_url': 'https://crack.sh/api', 'customer_id': '', 'email': ''}
You can customize your installation with the following keys:
- customer_id: your customer ID if a paying customer.
- email: your email address for status updates.
- api_url: the API URL for https://crack.sh.
Email and Customer ID can be overriden per-command if desired using --email
and --customerid
respectively.
- Submit a token for work:
!cracksh submit [format] [sometoken]
- Submit a token with an email override:
!cracksh submit --email [user]@[domain] [format] [sometoken]
- Submit a token for a customer with ASAP priority:
!cracksh submit --customerid [customer ID] --asap 1 [format] [sometoken]
- Check status of a job:
!cracksh status [reference]