Coder Social home page Coder Social logo

all4schools_connector's Introduction

all4schools_connector

This module deals with retrieving data, error management and support for webform data submission to All4Schools.

About All4Schools

All4Schools is a course and students management software with an interface to retrieve/send data about courses and participants. The data is transmitted as JSON in both directions.

Module configuration

The module can be configured in drupal under the following path: /admin/config/services/All4Schools

The following parameters are required:

  1. Base url: the API endpoint for your project. For some project an additional test endpoint can be available. Use your local settings file to overwrite it.
  2. Request id: A unique id pro client. This should be communicated byt the client / owner of the API.
  3. Additionnaly, some implementations might require an AppUserId for POST requests. This should be communicated byt the client / owner of the API.

Tests

There is no unit testing available for now. If you want to quickly test the connector, you can create a script.php file in a custom module and instantiate the example plugin:

<?php

$plugin_manager = \Drupal::service('plugin.manager.all4schools_connector');
$plugin_instance = $plugin_manager->createInstance('example_all4schools_connector');

// Test any method.
$all_courses = $plugin_instance->getCourses();

Check in Lastpass for working API Endpoints / request_id

all4schools_connector's People

Contributors

youpixxl avatar pvbergen avatar bkomel avatar martinstadelmann avatar

Watchers

 avatar  avatar  avatar

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.