0.1.13 • Published 4 years ago
epicwar v0.1.13
Epicwar
Get maps information from epicwar.com
Example
import { epicwarGetMap } from 'epicwar'
(async () => {
// Map: https://www.epicwar.com/maps/1
const mapId = 1
// When download is true, you will receive the map on map.file
const download = false
const map = await epicwarGetMap(mapId, download)
console.log(map)
})()
Available methods
Get map
Get and download map
Get total maps
Get maps categories
Warcraft3 GG
This repository is part of Warcraft3-GG organization