2017 © Pedro Peláez
 

library api

A library integrating the Appointmind API

image

appointmind/api

A library integrating the Appointmind API

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Getting started

Appointmind is an online appointment scheduling service. appointmind/api is an API client, written in PHP and using Zend Framework components, that alllows you to create users and appointments, and login users via single sign-on., (*1)

Features

  • Create users
  • Create appointments
  • Single sign-on

Install with composer

composer require appointmind/api

Use

$user = new \Appointmind\User();
$user->setUri('...');
$user->setAccessKey('...');
$user->setSecretKey('...');
$result = $user->create([]);

Response, (*2)

{
    "result": {
        "userId": "123456789"
    },
    "error": null,
    "id": 1,
    "jsonrpc": "2.0"
}

Login User

$user = new \Appointmind\User();
$user->setUri('...');
$user->setAccessKey('...');
$user->setSecretKey('...');
$result = $user->login('info@example.com', $redirect = 'https://www.example.com/redirect/');

Response, (*3)

{
    "result": {
    "token": "2c3373ea2cf25743376fce78ef23383a651654b6802c965aa38ab5fd3b4863a3",
    "url": "https://www.example.com/login/?token=2c3373ea2cf25743376fce78ef23383a651654b6802c965aa38ab5fd3b4863a3&singlesignon=1"
    },
    "error": null,
    "id": 1,
    "jsonrpc": "2.0"
}

The Versions

28/01 2018

dev-master

9999999-dev https://www.appointmind.com/

A library integrating the Appointmind API

  Sources   Download

The Requires

 

booking scheduling appointment

28/01 2018

v5

5.0.0.0 https://www.appointmind.com/

A library integrating the Appointmind API

  Sources   Download

The Requires

 

booking scheduling appointment

28/01 2018

v4

4.0.0.0 https://www.appointmind.com/

A library integrating the Appointmind API

  Sources   Download

The Requires

 

booking scheduling appointment

28/01 2018

v3

3.0.0.0 https://www.appointmind.com/

A library integrating the Appointmind API

  Sources   Download

The Requires

 

booking scheduling appointment

28/01 2018

v2-alpha

2.0.0.0-alpha https://www.appointmind.com/

A library integrating the Appointmind API

  Sources   Download

The Requires

 

booking scheduling appointment

28/01 2018

v1-alpha

1.0.0.0-alpha https://www.appointmind.com/

A library integrating the Appointmind API

  Sources   Download

The Requires

 

booking scheduling appointment