hsit/webservices-library
最新稳定版本:2.0.0
Composer 安装命令:
composer require hsit/webservices-library
包简介
Library to access to HSIT elaborated data
README 文档
README
With this library you can get intensity and thematic effect data for quakes, from HSIT infrastructure.
You can set quake using FDSN Event ID (int unique event -earthquake- identifier).
By this library you can fetch the following data:
- Macroseismic study:
- MCS, code mcs
- EMS, code ems
- Thematic Effects study:
- Acoustic Effect, code acousticeffect
- Animals, code animals
- China, code china
- Doors, code doors
- Fear, code fear
- Forniture, code forniture
- Hanging Objects, code hangingobjects
- Liquids, code liquids
- Pictures, code pictures
- Small Objects, code smallobjects
using ASCII|JSON|XML data file, fetch from HSIT portal or from local file, and use it like a common associative array.
For Macroseismic studies it will return an array of associative arrays with the following fields ( point, intensity, reports, place )
For Thematic Effect studies it will return an array of associative arrays with the following fields ( point, percentage, reports, place )
Install and usage
See wiki about Install, Autoload and Usage here: https://gitlab.rm.ingv.it/hsit/webservices-library/-/wikis/Home
Documentation
You can find documentation, automatically created by PHPDocumentor here: http://hsit.gitpages.rm.ingv.it/webservices-library/phpdoc/
Test and Deploy
Tests are realized using PHPUnit.
You can find code coverage here: http://hsit.gitpages.rm.ingv.it/webservices-library/coverage/
Contributing
If you want to contribute, please use pull requests.
To get a best integration, please code using Test Driven Development (TDD) and Calisthenic Programming.
Authors and acknowledgment
Diego Sorrentino, Istituto Nazionale di Geofisica e Vulcanologia, https://www.ingv.it/organizzazione/chi-siamo/personale/#922
License
GPL v3
Project status
Development in progress
统计信息
- 总下载量: 41
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: AGPL-3.0-or-later
- 更新时间: 2025-04-17