定制 vinkas/singapore-laravel 二次开发

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

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

vinkas/singapore-laravel

最新稳定版本:v1.2.1

Composer 安装命令:

composer require vinkas/singapore-laravel

包简介

Laravel package for Singapore's open data API and regions, areas, and subzones data

README 文档

README

Tests Packagist Version

Laravel package for Singapore's open data API https://data.gov.sg and regions, areas, and subzones data

Installation

The package vinkas/singapore-laravel can be installed using composer via Packagist.

composer require vinkas/singapore-laravel

Usage

You can simply call the API endpoints by using the Singapore facade.

use Vinkas\Singapore\Facade as Singapore;

$response = Singapore::api()->weather()->rainfall();
$data = $response->object()->data;

$stations = $data->stations;
$readings = $data->readings;

Also, you can get all the details of Singapore regions, areas, and subzones from the classes below.

Singapore::regions();
Singapore::areas();
Singapore::subzones();

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-10