Navigation Menu

Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

pine/JwcadUpdateChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks