承接 jsonpad/jsonpad-php 相关项目开发

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

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

jsonpad/jsonpad-php

最新稳定版本:1.0.0

Composer 安装命令:

composer require jsonpad/jsonpad-php

包简介

jsonpad PHP library

README 文档

README

DEPRECATED This was designed for the old (~2015) version of jsonpad, which has since been rebuilt from the ground-up. This repo no longer works.

This is a PHP library for connecting to your jsonpad account, it allows you to read/write lists and items without having to communicate directly with the REST API.

It supports the jsonpad API caching features, so you can load lists and items multiple times without worrying too much about hitting the rate limits.

See the jsonpad API Documentation for more information on the jsonpad API.

Requirements

PHP 5.3.3+

Install with Composer

You can install this library using Composer. Add the following requirement to composer.json:

{
	"require": {
		"jsonpad/jsonpad-php": "1.*"
	}
}

Then run:

composer install

In your PHP code, include the Composer autoloader:

require_once("vendor/autoload.php");

Manual Installation

To install this library manually, just download the latest release.

Then, include the init.php file in your PHP code:

require_once("jsonpad-php/init.php");

Documentation

Here's an example of how to get started:

$jsonpad = new \Jsonpad\Jsonpad("username", "apitoken");
$list = $jsonpad->fetchList("testlist");
$items = $list->fetchItems(1, 5);
if (count($items) > 0) {
	var_dump($items[0]->getData());
}

Full documentation coming soon.

Tests

PHPUnit tests are provided in the /tests/ folder.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-30