承接 bespoke-support/police-api 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

bespoke-support/police-api

Composer 安装命令:

composer require bespoke-support/police-api

包简介

API and Data for Police UK

README 文档

README

API and Data for data.police.uk Replacement for old cURL library (https://github.com/RickSeymour/Police.uk-API-PHP-Curl-Class)

Usage

Add to your composer.json

{
    "require": {
        "bespoke-support/police-api": "~0.1.0"
    }
}
<?php

require_once 'vendor/autoload.php';

$police = new \BespokeSupport\PoliceApi\PoliceUK;

$obj = $police->lastupdated();

var_dump($obj);
<?php

$neighbourhoods = PoliceJsonApi::fetch(sprintf('%s/neighbourhoods', $force));

Endpoints available

  • crime-last-updated
  • crimes-street-dates
  • forces
  • forces/leicestershire
  • forces/leicestershire/people
  • leicestershire/neighbourhoods
  • leicestershire/C01
  • leicestershire/C01/boundary
  • leicestershire/C01/people
  • leicestershire/C01/priorities
  • leicestershire/C01/events
  • outcomes-for-crime/55cf6589528767582bf0c96af1a4f99308aa66daad285c3f8317df357628bee0
  • locate-neighbourhood?q=51.500617,-0.124629
  • crime-categories?date=2011-08
  • crimes-street/all-crime?lat=52.629729&lng=-1.131592&date=2013-01
  • crimes-street/all-crime?poly=52.268,0.543:52.794,0.238:52.130,0.478&date=2013-01
  • outcomes-at-location?date=2013-01&location_id=12345
  • outcomes-at-location?date=2013-01&lat=52.629729&lng=-1.131592
  • outcomes-at-location?date=2013-01&poly=52.268,0.543:52.794,0.238:52.130,0.478
  • crimes-at-location?date=2012-02&location_id=12345
  • crimes-at-location?date=2012-02&lat=52.629729&lng=-1.131592
  • crimes-no-location?category=all-crime&force=warwickshire&date=2013-09
  • stops-street?lat=52.629729&lng=-1.131592&date=2015-05
  • stops-street?poly=52.268,0.543:52.794,0.238:52.130,0.478&date=2015-01
  • stops-at-location?location_id=885142&date=2015-06
  • stops-no-location?force=cleveland&date=2015-06
  • stops-force?force=avon-and-somerset&date=2015-04

bespoke-support/police-api 适用场景与选型建议

bespoke-support/police-api 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 26 次下载、GitHub Stars 达 1, 最近一次更新时间为 2015 年 10 月 04 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 bespoke-support/police-api 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 bespoke-support/police-api 我们能提供哪些服务?
定制开发 / 二次开发

基于 bespoke-support/police-api 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-10-04