address
This call will return the registered address information for the user of the active token.
<?php
declare(strict_types=1);
use Qvickly\Api\Auth\AuthAPI;
require __DIR__ . '/../../vendor/autoload.php';
use Dotenv\Dotenv;
$dotenv = Dotenv::createImmutable(__DIR__ . '/../..');
$dotenv->load();
$authAPI = new AuthAPI();
$auth = $authAPI->login($_ENV['USERNAME'], $_ENV['PASSWORD']);
$address = $authAPI->address($auth);
var_dump($address);
This code requires our composer package qvickly/api
composer require qvickly/api
Last modified: 13 September 2024