承接 johnathanmiller/evstation-php 相关项目开发

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

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

johnathanmiller/evstation-php

Composer 安装命令:

composer require johnathanmiller/evstation-php

包简介

PHP API wrapper for locating electric vehicle charging stations on NREL

README 文档

README

Build Status

PHP API wrapper for locating electric vehicle charging stations on NREL. National Renewable Energy Laboratory (NREL) API v1: https://developer.nrel.gov Get your API Key at https://developer.nrel.gov/signup/

Rate Limiting

https://developer.nrel.gov/docs/rate-limits/

Installation

Download evstation-php from GitHub or install using Composer

composer require johnathanmiller/evstation-php

Import into namespace environment

use JohnathanMiller\EVStation\EVStation;

or include into your project using the require function

require 'EVStation.php';

Instantiate EVStation You'll need to pass in two arguments into EVStation. The first parameter is expecting an API key to make successful requests and the second parameter is used to format the request, json or xml.

$evStation = new EVStation('YOUR_API_KEY', 'json');

Examples

Get All Stations

$evStation->getAll(['zip' => 98004], 10);

Get Station by ID

$evStation->get(123);

Nearest Stations

$evStation->nearest(['location' => 'Bellevue, WA'], 10, 0);

Stations Nearby Route

$evStation->nearbyRoute(['route' => 'LINESTRING(-74.0 40.7, -87.63 41.87, -104.98 39.76)']);

Last Updated Date

$evStation->lastUpdated();

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-05-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固