Code Monkey home page Code Monkey logo

adobe-connect's Introduction

PHP Client for Adobe Connect's API (tested with v9)

At the moment, the client not implement methods for all the Adobe Connect's API actions (You're invited to do it :)), instead, we just implement those that we usually use in our system.

Installation using Composer

$ composer require platforg/adobe-connect

Usage

<?php
require __DIR__ . '/vendor/autoload.php';

$config = new AdobeConnect\Config(
    "your-account.adobeconnect.com",
    "[email protected]",
    "password"
);

$client = new AdobeConnect\ApiClient($config);

// Call endpoints
$info = $client->commonInfo();
var_dump($info);

// ...
$scos = $client->scoSearch('term...');
var_dump($scos);
// ...

The methods names in the ApiClient class maintain a one-to-one relationship with the AdobeConnect's endpoints (in camelCase instead of hyphen).
Please, see the AdobeConnect\ApiClient for a complete list of endpoints implemented. Also, you can use/see AdobeConnect\ExtraApiClient for some custom methods.

Frameworks integrations (third-party):

Todo:

  • Add unit test.
  • Implement more methods.
  • Add Documentation.

Note: We don't have any relation with Adobe.

adobe-connect's People

Contributors

delmicio avatar gburgi avatar woodja avatar zyberspace avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

adobe-connect's Issues

Can not login

Hi, im trying to login but it fails.

foreach (glob(__DIR__."/../../lib/AdobeConnect/*.php") as $filename) require_once $filename;

$config = new AdobeConnect\Config(
    $host       = "meetXXXXXXXX.adobeconnect.com",
    $username   = "[email protected]",
    $password   = "mypass"
);

$adobeAPI = new AdobeConnect\ApiClient($config);

The error is:

PHP Fatal error:  Uncaught exception 'Exception' with message 'The AdobeConnect's Server is returning an invalid status code.
                Request: https://meetXXXXXXX.adobeconnect.com/api/xml?action=login&amp;login=user.name%40domain.com&amp;password=***amp;session=na7breezyai9yrd2zawypoy5
                Response: {"status":{"@attributes":{"code":"invalid"},"invalid":{"@attributes":{"field":"login","type":"string","subcode":"missing"}}}}'

Could you give me an example with a working code?

Cant do any actions

Hi dear @Gudabu , I had tried for many times to do some actions like getting principalList but every action i do it returns
the error like:
Response: {"status":{"@attributes":{"code":"no-access","subcode":"no-login"}}}

The written code is:
$config = new AdobeConnect\Config(
"domain",
"email",
"pass"
);

$client = new AdobeConnect\ApiClient($config);

$client->login("email","pass");
$scos = $client->scoSearch('term...');
var_dump($scos)

Http not supported!

First of all thanks for your elegant library.
As I mentioned in title, cause of hard coding https in Request class's constructor, then I cannot use this library by http!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.