phisherman.js v2.0.0
About The Project
Phisherman is a centralised database of phishing and scam links. It is designed for use with Discord bots, allowing them to utilise the Phisherman API to cross-check urls against our known phishing links.
Phisherman.js was written as a utility package for my private bots, because I wanted a simple way to interface with the Phisherman API through a package, so I didn't have to worry about managing API routes, error handling, etc.
Getting Started
To get started, you'll need to install the package:
npm install phisherman.js
You can obtain your API key by going to the Phisherman website and following the steps there to request a token.
Then, simply initalize the Phisherman client with your API key:
import {Client} from "phisherman.js";
const client = new Client('your-api-key-here');
To check a domain, you can use the checkDomain
method:
client.checkDomain('unknown.test.phisherman.gg')
.then(result => {
console.log(result);
})
See the documentation for more information about the methods available.
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the GNU General Public License. See LICENSE
for more information.
Contact
Shadow - will@willshadow.com
Project Link: https://github.com/thewilloftheshadow/phisherman.js