-
-
Notifications
You must be signed in to change notification settings - Fork 93
The API
Brandon edited this page Feb 26, 2021
·
3 revisions
Import the API with:
from search_that_hash import api
And then use it like:
hashes = ["5d41402abc4b2a76b9719d911017c592"]
x = api.return_as_fast_json(hashes)
You can also use fast mode for the API:
hashes = ["5d41402abc4b2a76b9719d911017c592"]
x = api.return_as_json(hashes)
We recommend fast mode for normal usage.
-
Fast does not return hash types (but when it's used in the CLI it does). This is a feature that we're working on.
-
Normal searches every API and returns hash types.
-
Fast - Returns hash type and plaintext. The second an API returns True for the found hash, it stops all API calls and returns it (so it's physically fast)
-
Not-fast - Returns hash type and plaintext. Goes through every single API and returns the plaintext at the end, does not stop prematurely. This might be so the company can see if their API key is working for a server, or for people to test if their newly added API works :slight_smile: