pine / JwcadUpdateChecker

This is a Google Apps Script that get latest version of Jw_cad.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jwcad Update Checker

Build Status devDependency Status

This is a Google Apps Script that get latest version of Jw_cad.

Developing enviroment

  • JavaScript
  • Google Apps Script (Spreadsheet)

API

Endpoint

GET /?format=[output format]

Parameters

Both parameters are optional.

  • format: 'json' (default) or 'xml'

Examples

This app runs in my spreadsheet.

{
  "isSucceeded": true,
  "errMsg": null,
  "version": "8.00.4",
  "downloadUrl": "http://www.jwcad.net/download/jww800d.exe"
}
<?xml version="1.0" encoding="utf-8"?>
<object>
  <isSucceeded>
    <true/>
  </isSucceeded>
  <errMsg>
    <null/>
  </errMsg>
  <version>8.00.4</version>
  <downloadUrl>http://www.jwcad.net/download/jww800d.exe</downloadUrl>
</object>

Tests

There are some tests written by Vows and Chai. The tests use some mock that run on Node.js as Google Apps Script API.

$ npm install
$ npm test

License

MIT License
Copyright (C) 2014-2015 Pine Mizune

About

This is a Google Apps Script that get latest version of Jw_cad.

License:MIT License


Languages

Language:JavaScript 100.0%