定制 adres-validatie-nl/php-sdk 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

adres-validatie-nl/php-sdk

最新稳定版本:v1.3.0

Composer 安装命令:

composer require adres-validatie-nl/php-sdk

包简介

SDK for api.adres-validatie.nl

README 文档

README

API documentation for api.adres-validatie.nl

Installation & Usage

Requirements

PHP 7.4 and later. Also works with PHP 8.0.

Composer

To install the bindings via Composer, add the following to composer.json:

{
  "require": {
    "adres-validatie-nl/php-sdk": "^1.3.0"
  }
}

Then run composer install

Manual Installation

Download the files and include autoload.php:

<?php
require_once('/path/to/OpenAPIClient-php/vendor/autoload.php');

Getting Started

Please follow the installation procedure and then run the following:

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$apiInstance = new OpenAPI\Client\Api\DefaultApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$client_id = 'client_id_example'; // string | The account's client id
$client_secret = 'client_secret_example'; // string | The account's client secret

try {
    $result = $apiInstance->accessTokenPost($client_id, $client_secret);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->accessTokenPost: ', $e->getMessage(), PHP_EOL;
}

API Endpoints

All URIs are relative to https://api.adres-validatie.nl

Class Method HTTP request Description
DefaultApi accessTokenPost POST /access-token
DefaultApi accountPost POST /account
DefaultApi accountWebhookPut PUT /account/webhook
DefaultApi fileAddressesCsvGet GET /file/addresses.csv
DefaultApi fileAddressesZipGet GET /file/addresses.zip
DefaultApi stripeCheckoutSessionPost POST /stripe/checkout/session
DefaultApi stripePortalSessionPost POST /stripe/portal/session

Models

Authorization

Authentication schemes defined for the API:

Oauth2

  • Type: OAuth
  • Flow: application
  • Authorization URL: ``
  • Scopes:
    • read:data: Read data from the API
    • write:data: Write data to the API

Tests

To run the tests, use:

composer install
vendor/bin/phpunit

Author

About this package

This PHP package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
    • Generator version: 7.8.0
  • Build package: org.openapitools.codegen.languages.PhpClientCodegen

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: unlicense
  • 更新时间: 2024-09-03