HAD REST API Client Sample Program

File uploaded by Takeshi Arisaka Employee on Jun 14, 2016Last modified by Takeshi Arisaka Employee on Dec 22, 2016
Version 3Show Document
  • View in full screen mode

This is sample programs and documents for HAD (Hitachi Automation Director) REST API Client.

This tells you how to use HAD REST API and its call sequence for particular use case.


How to start:

  • Download the zip file (HADRESTAPI.zip) and extract it
  • Open index.html, then you'll see list of use cases in 'API Use Case Quick Reference List.' section.
  • Click a link to drill down to each use case. You'll see explanation of use case, list of API to be called for the use case and sample programs. You can also get whole sample program code from each page.
  • The sample program is implemented by Python, so in order to run the program you need to install Python and some libraries (e.g. requests) as written in index.html

How to setup environment to execute sample program (Python):

  1. Install Python (https://www.python.org/)
    • Get installer from above site and install Python.
  2. Install libraries for python