BotOVH is a tiny bot I wrote for my personnal needs.
Is your domain name already taken? Tell BotOVH to grab it for you when it becomes available for registration.
Requirements
OVH Account
OVH API application
Python 3.6+
Installation
Install BotOVH using pip
pip install botovh
BotOVH automatically installs the following dependencies:
docopt
python-ovh
Create an OVH API application
To interact with the OVH APIs, BotOVH needs to identify itself using an application_key and an application_secret. To get them, you need to register an OVH API application.
Once created, you will obtain an application key and an application secret.
Configure BotOVH
Create an botovh.conf configuration file at :
Windows : C:\Users\<YOUR_WINDOWS_USERNAME>\.botovh\botovh.conf
Linux / Mac : /etc/botovh.conf
Here is how the configuration file looks like :
OVH API
`ini [OVH] ENDPOINT=ovh-eu APPLICATION_KEY=<YOUR_APPLICATION_KEY> APPLICATION_SECRET=<YOUR_APPLICATION_SECRET> ; Use 'botovh --key' to request your OVH consumer key. CONSUMER_KEY=<YOUR__CONSUMER_KEY> `
Email notification
`ini [SMTP] ; Send email notification. HOST=<SMTP_SERVER_ADDRESS> PORT=465 USER=<YOUR_SMTP_USER> PASSWORD=<YOUR_SMTP_PASSWORD> SEND_FROM=<SEND_EMAIL_FROM> SEND_TO=<SEND_EMAIL_TO> `
Usage
Request a new OVH consumer key:
$ botovh -k
$ botovh --key
Basic usage:
$ botovh example.com fakedomain.org
Specify a file containing the domain names you want to check:
$ botovh -f /path/to/file.txt
$ botovh --file /path/to/file.txt
Specify your preferred payment method:
Payment methods: bankAccount, creditCard, fidelityAccount, ovhAccount or paypal.
$ botovh -p paypal
$ botovh --payment creditCard
Disable console logging using the --quiet argument:
$ botovh example.com fakedomain.org --quiet
Disable email notification using the --noemail argument:
$ botovh example.com fakedomain.org --noemail
Automate BotOVH
You can automate BotOVH to run daily using cron jobs or task scheduler depending on your system.
License
This code is released under a free software license and you are welcome to fork it.
Metadata
Release files for botovh 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| botovh-0.2.1.tar.gz | 5.9 kB | Without provenance | Details for botovh-0.2.1.tar.gz |
Release files / botovh-0.2.1.tar.gz
| Download URL | botovh-0.2.1.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eda950246f3d133c52abe0fa2ad2efa4de41834f7cf91738d199b1aa56f889f6
|
|
BLAKE2b-256 checksum How to use checksums |
20e3eca173bd9ef621b10336c963bc9e3e003dbd8c3e1f7d0209f9999d8c624f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Security for botovh 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.