Giter Club home page Giter Club logo

taiwanreservoirapi's Introduction

TaiwanReservoirAPI

台灣水庫資訊 API

Build Status

Online API endpoint

http://128.199.223.114:10080/

http://128.199.223.114:10080/today

參數說明

參數名稱 說明
reservoirName 水庫名稱
baseAvailable 有效容量(萬立方公尺)
daliyTime 每日統計時間
daliyRainfall 每日集水區降雨量(毫米)
daliyInflow 每日進水量(萬立方公尺)
daliyOverflow 每日出水量(萬立方公尺)
daliyDetector 與昨日水位差(公尺)
concentration 水體核種濃度值
immediateTime 即時水情時間
immediateLevel 即時水位(公尺)
immediateStorage 即時有效蓄水量(萬立方公尺)
immediatePercentage 即時蓄水量百分比(%)
lastedUpdateTime api 最後更新時間

How to use

Clone

Open your terminal

git clone https://github.com/washwashsleep/TaiwanReservoirAPI.git

And then go to TaiwanReservoirAPI folder

cd TaiwanReservoirAPI/

Install

Install Node modules

npm install

start

Start this api

node app.js

Debug mode

DEBUG=reservoir node app.js

See result

Open your browser and type

http://127.0.0.1:10080/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.