Skip to content

MZRCode/mzr-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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ı.

About

Simplify a lot of your code using MZR-API

Resources

License

Stars

Watchers

Forks

Packages

No packages published