Package Exports
- mzr-api
- mzr-api/file/export.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mzr-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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ı.