ghassani/surveymonkey-v3-api-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

ghassani/surveymonkey-v3-api-php

最新稳定版本:1.1.2

Composer 安装命令:

composer require ghassani/surveymonkey-v3-api-php

包简介

README 文档

README

A simple SurveyMonkey API wrapper for version 3 of their API.

Requirements

Installation

Add the following to your composer.json under require:

"require": {
    "ghassani/surveymonkey-v3-api-php": "1.*"
},

Usage

  1. Initiate a client with a long lived token:

    $client = new Spliced\SurveyMonkey\Client(MY_API_KEY, MY_API_TOKEN);

  2. Make calls:

    $client->getSurveys([]);

Check out src/Api/*Trait.php for exposed methods in the Client class. There are also some additional usage examples in the incomplete test suite.

OAuth

Check out authenticator/index.php as an example of how to get a long lived token and authorize a user. You can also get a long lived token from your developer console if you are not requiring users to authenticate and just trying to work with your own account.

统计信息

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

GitHub 信息

  • Stars: 21
  • Watchers: 3
  • Forks: 22
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2016-11-17