unity-package-download
v0.2.0
Published
download unity packages
Downloads
2
Readme
unity-package-download
Note: uses es6 classes, see this for node version compatibility
Client for downloading packages from the unity package service.
You must download one package manually before this will work, as you need to accept the unity TOS.
It's important to note that this is for downloading (not purchasing) packages - as such, you can only get content you're already authorized to get.
To purchase yourself a package (not needed for free ones) go to unity3d and click 'buy'.
How
Do I...
Install
Simple! Just npm install unity-package-download
Use
See the following (or the tests):
const client = new UnityDownloadClient('sessionId')
client.download('packageId').then(...)
client.downloadMeta('packageId').then(...)
You'll probably also want to check out unity-package-authentication
for securing a valid sessionId
License
MIT