0.1.3 • Published 6 years ago
wc3maps v0.1.3
Wc3maps
Get maps information from wc3maps.com
Example
import { getMap } from 'wc3maps'
(async () => {
// Map: https://wc3maps.com/map/43/DBZ_Tribute_Elite_v2.1c
const mapId = 43
// When download is true, you will receive the map on map.file
const download = false
const map = await getMap(mapId, download)
console.log(map)
})()Available methods
Get mapGet and download mapGet total mapsGet maps id per pageGet total maps pages
Warcraft3 GG
This repository is part of Warcraft3-GG organization