MIDDAG for Moodle

eduzz_restapi

Table of Contents

Constants

PER_PAGE  = 100
URL_BASE  = 'https://api2.eduzz.com/'

Properties

$client  : http_client
$token  : mixed

Methods

__construct()  : mixed
create_webhook()  : mixed
generate_token()  : mixed
order()  : mixed
orders()  : array<string|int, mixed>|false
product_variations()  : array<string|int, mixed>|false
products()  : array<string|int, mixed>|false
test()  : bool
webhooks()  : array<string|int, mixed>|false

Constants

Properties

Methods

__construct()

public __construct(mixed $public_key, mixed $api_key, mixed $email) : mixed
Parameters
$public_key : mixed
$api_key : mixed
$email : mixed

create_webhook()

public create_webhook(array<string|int, mixed> $data) : mixed
Parameters
$data : array<string|int, mixed>

generate_token()

public generate_token(mixed $public_key, mixed $api_key, mixed $email) : mixed
Parameters
$public_key : mixed
$api_key : mixed
$email : mixed

order()

public order(string $order_id) : mixed
Parameters
$order_id : string

orders()

public orders(mixed $start_date, mixed $end_date[, mixed $limit = 0 ][, mixed $page = 1 ]) : array<string|int, mixed>|false
Parameters
$start_date : mixed
$end_date : mixed
$limit : mixed = 0
$page : mixed = 1
Return values
array<string|int, mixed>|false

product_variations()

public product_variations(string $product_id) : array<string|int, mixed>|false
Parameters
$product_id : string
Return values
array<string|int, mixed>|false

products()

public products() : array<string|int, mixed>|false
Return values
array<string|int, mixed>|false

webhooks()

public webhooks() : array<string|int, mixed>|false
Return values
array<string|int, mixed>|false

        
On this page

Search results