kubomikita/smartemailing-pid
最新稳定版本:1.1
Composer 安装命令:
composer create-project kubomikita/smartemailing-pid
包简介
Smartemailing.cz HR task.
关键字:
README 文档
README
Smartemailing PID API
Table Of Contents
Built With
Nette framework v3.2, PHP >= 8.1, MariaDB 10.6
Getting Started
To get a local copy up and running follow these simple example steps.
Installation
This is an example of how to list things you need to use the software and how to install them using composer.
composer create-project --ignore-platform-reqs kubomikita/smartemailing-pid /path-to-your-project-directory
Create database from .sql file stored in:
/path-to-your-project-directory/database/create.sql
Setup credentials to connect to database in:
/path-to-your-project-directory/config/local.neon
Run app in your prefered browser.
Usage
First sync data with Open data PID with PHP-CLI
php /path-to-your-project-directory/www/index.php Cron:SyncPid
API endpoint for list all PID points
GET http://localhost/path-to-your-project-directory/www/
API endpoint for list all opened PID points
GET http://localhost/path-to-your-project-directory/www/?isOpen=1
API endpoint for list all opened PID points in specific date and time
GET http://localhost/path-to-your-project-directory/www/?isOpen=1&dateTime=2023-11-17T15:40
Query parameter dateTime can be integer representing UNIX TIMESTAMP
If given dateTime is not valid, endpoint uses actual date and time.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-11-17