mzr-api
v1.1.0
Published
A versatile and user-friendly API for accessing web services, proxy check, currency rates, crypto info, news, translation, and more.
Downloads
44
Maintainers
Keywords
Readme
MZR-API
MZR-API is a Node.js module designed to simplify sending requests to the MZR API and reduce error rates. It provides an easy-to-use interface for interacting with the MZR API.
🚀 Getting Started
📥 Installation
npm install mzr-api
pnpm add mzr-api
yarn add mzr-api
📝 Usage Examples
Here are some usage examples. For more detailed information and additional examples, please refer to our documentation.
Example: Get Version
const { version } = require('mzr-api');
console.log(version);
Example: Crypto
const { Api } = require('mzr-api');
const mzrapi = new Api('YOUR_API_KEY');
(async () => {
const coins = ['BTC', 'ETH'];
const currencies = ['USD', 'EUR', 'TRY'];
const data = await mzrapi.crypto(coins, currencies);
console.log(data);
})();
Example: Minecraft Server Info
const { Api } = require('mzr-api');
const mzrapi = new Api('YOUR_API_KEY');
(async () => {
const data = await mzrapi.minecraftServer('mc.hypixel.net');
console.log(data);
})();
Example: Proxy Check
const { Api } = require('mzr-api');
const mzrapi = new Api('YOUR_API_KEY');
(async () => {
const data = await mzrapi.proxyCheck(['username:password@ip:port', 'username2:password2@ip2:port2']);
console.log(data);
})();
For more examples and detailed information, please refer to our documentation.
📢 Contributing
If you would like to contribute, please check out our Contributing Guide.
📜 License
This project is licensed under the MIT Lisansı.