valorant-info
v1.1.5
Published
A Node.js wrapper for retrieving Valorant game data, including agents, weapons, and maps. Supports multi-language translation!
Maintainers
Readme
Valorant Info - Unofficial Valorant API Wrapper for Node.js 🎮
✅ Free to use! 🔥 Retrieve Valorant agent, weapon, and map data with ease! Multi-language support included.
Valorant Info is a simple and efficient Node.js wrapper for fetching Valorant game data such as agents, weapons, and maps. Now with full language support (
en,tr, and more)! 🚀
📌 Features
✅ Fetch Weapon Information (e.g., Phantom, Vandal, Operator) 🔫
✅ Retrieve Map Information (e.g., Breeze, Bind, Haven) 🗺️
✅ Get Agent Details with Abilities (e.g., Jett, Reyna, Phoenix) 🎭
✅ Multi-Language Support (en, tr, and any other language) 🌍
✅ Structured and Clean JSON Responses 🧹
✅ No need for authentication or API keys 🔑
✅ Works with Node.js and supports Promises & Async/Await ⚡
📦 Installation
Install via npm:
npm install valorant-infoOr using yarn:
yarn add valorant-info🚀 Usage
Import the package
const valorantInfo = require("valorant-info");Get Weapon Information
valorantInfo.getWeaponInfo("phantom", "tr")
.then(data => console.log(data))
.catch(err => console.error(err));Get Map Information
valorantInfo.getMapInfo("breeze", "fr")
.then(data => console.log(data))
.catch(err => console.error(err));Get Agent Information with Abilities
valorantInfo.getAgentInfo("jett", "es")
.then(data => console.log(data))
.catch(err => console.error(err));📜 API Reference
getWeaponInfo(weaponName, language)
- Fetches details of a specified weapon.
- Parameters:
weaponName(string) → Name of the weapon (e.g., "phantom", "vandal").language(string, optional) → Language code ("en","tr", or any other language). Defaults to"en".
- Returns:
Promise<object>→ Weapon details in JSON format.
getMapInfo(mapName, language)
- Fetches details of a specified map.
- Parameters:
mapName(string) → Name of the map (e.g., "breeze", "bind").language(string, optional) → Language code ("en","tr", or any other language). Defaults to"en".
- Returns:
Promise<object>→ Map details in JSON format.
getAgentInfo(agentName, language)
- Fetches details of a specified agent, including abilities.
- Parameters:
agentName(string) → Name of the agent (e.g., "jett", "reyna").language(string, optional) → Language code ("en","tr", or any other language). Defaults to"en".
- Returns:
Promise<object>→ Agent details with abilities in JSON format.
🌍 Language Support Example
English (Default)
valorantInfo.getAgentInfo("breach")
.then(data => console.log(data))
.catch(err => console.error(err));Turkish
valorantInfo.getAgentInfo("breach", "tr")
.then(data => console.log(data))
.catch(err => console.error(err));French
valorantInfo.getAgentInfo("breach", "fr")
.then(data => console.log(data))
.catch(err => console.error(err));⚙️ Requirements
- Node.js v14+ recommended
🛠️ Contributing
Contributions are welcome! If you want to add features or fix bugs:
- Fork the repository 📌
- Create a new branch 🔧
- Commit your changes ✅
- Push and submit a PR 🚀
📜 License
This project is licensed under the MIT License.
🌟 Support & Contact
If you find this package useful, consider giving it a GitHub star ⭐! For any questions or issues, you can reach out via GitHub Issues.
Happy Coding! 🎮🚀
