# Installation

# NPM

All released versions are available via npm (opens new window).

npm install blizzapi

# Access via CDN

BlizzAPI is also available as UMD module and it can be accessed via CDN:

// Using jsDelivr:
<script src="https://cdn.jsdelivr.net/npm/blizzapi/dist/blizzapi.umd.js"></script>

// Using unpkg:
<script src="https://unpkg.com/blizzapi/dist/blizzapi.umd.js"></script>

BlizzAPI uses axios (opens new window) for HTTP requests. If you use UMD build without any module tooling you have to provide axios manually (opens new window).

# Manual build

BlizzAPI is available on GitHub (opens new window) and it can be built from source code.

git clone https://github.com/blizzapi/blizzapi.git
cd blizzapi
npm install
npm run build

All released packages are also available in GitHub releases section (opens new window).

Last Updated: 6/15/2021, 10:35:42 PM