1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-18 14:21:32 +03:00
leon/packages/checker
2022-02-10 22:11:17 +08:00
..
config BREAKING(checker/haveibeenpwned): introduce v3 API with API key 2021-03-16 23:01:22 +08:00
data refactor(server): expressions to utterance samples 2022-02-10 22:11:17 +08:00
test chore: upgrade Jest deps to latest 2021-12-27 18:37:42 +08:00
__init__.py chore: init 2019-02-10 20:26:50 +08:00
haveibeenpwned.py BREAKING(checker/haveibeenpwned): introduce v3 API with API key 2021-03-16 23:01:22 +08:00
isitdown.py feat(server): introduce actions module 2019-05-03 23:31:09 +08:00
README.md BREAKING(checker/haveibeenpwned): introduce v3 API with API key 2021-03-16 23:01:22 +08:00
version.txt BREAKING(checker/haveibeenpwned): introduce v3 API with API key 2021-03-16 23:01:22 +08:00

Checker Package

The checker package contains modules which include checkings.

Modules

Is it Down

Ping domain names and give you the online state.

Usage

(en-US) "Are github.com, an-awesome-domain-name.net and twitter.com down?"

(fr-FR) "Vérifies si github.com, un-super-nom-de-domaine.fr et twitter.com sont en ligne"
...

Have I Been Pwned

Verify if one or several email addresses have been pwned (thanks to Have I Been Pwned.

Usage

  1. Since the API v3, you must claim your API key.
  2. Then paste it in packages/checker/config/config.json at the haveibeenpwned.api_key key.
(en-US) "Has louis.grenard@gmail.com been pwned?"
(en-US) "Have iifeoluwa.ao@gmail.com, louis.grenard@gmail.com, and supercleanemail@test.com been pwned?"

(fr-FR) "Est-ce que louis.grenard@gmail.com est compromis ?"
(fr-FR) "Est-ce que iifeoluwa.ao@gmail.com, louis.grenard@gmail.com, et supercleanemail@test.com ont été compromis ?"

You can also predefine one or several email addresses in the packages/checker/config/config.json file at the haveibeenpwned.emails key.

If you do, then you can use such sentences:

(en-US) "Have my email addresses been pwned?"

(fr-FR) "Est-ce que mes adresses email ont été compromises ?"