2017 © Pedro Peláez
 

library surveymonkey-v3-api-php

image

ghassani/surveymonkey-v3-api-php

  • Thursday, March 1, 2018
  • by ghassani
  • Repository
  • 2 Watchers
  • 9 Stars
  • 1,416 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 1 Open issues
  • 1 Versions
  • 15 % Grown

The README.md

SurveyMonkey API v3 Wrapper for PHP

A simple SurveyMonkey API wrapper for version 3 of their API., (*1)

Requirements

  • PHP 5.5+
  • Composer - http://www.getcomposer.org

Installation

Add the following to your composer.json under require:, (*2)

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

Usage

1) Initiate a client with a long lived token:, (*3)

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

2) Make calls:, (*4)

``$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., (*5)

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., (*6)

The Versions

01/03 2018

dev-master

9999999-dev

  Sources   Download

GPL-3.0

The Requires

 

by Gassan Idriss