定制 betterweekdays/onet_api 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

betterweekdays/onet_api

Composer 安装命令:

composer require betterweekdays/onet_api

包简介

Library to interact with the ONET API: https://services.onetcenter.org/

README 文档

README

A php library to connect to the ONET API: https://services.onetcenter.org/

Currently Implemented:

Each Resource object connects to an endpoint. The Resource owns the connection to the endpoint knowing about the request and response XML format.

The Config object holds configuration

The Connection object makes the call to the API

The Resource Object will create Entity objects which are read only value objects.

Examples:

$config = new \ONET\Config('asdfvaesfjaivoe', 'https://services.onetcenter.org/ws');
$connection = new \ONET\Connection($config);

$resource = new \ONET\Resource\Online\WorkActivityDetailed('17-2112.00');

$response = $connection->call($resource);

$entity = $resource->map($response);

统计信息

  • 总下载量: 5.46k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 7
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPLv2
  • 更新时间: 2015-09-25