PHPackages                             creatissimo/dhl-oauth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. creatissimo/dhl-oauth

ActiveLibrary[HTTP &amp; Networking](/categories/http)

creatissimo/dhl-oauth
=====================

This API describes how API client can obtain a token which is used to access various Parcel Germany APIs. Using this API is often the first step in making your API call. &lt;p&gt;&lt;h3&gt;Preconditions&lt;/h3&gt; You will need: \* client ID (aka "API Key", obtained when you create an app in developer.dhl.com) \* client secret (aka "API Secret", obtained when you create an app in developer.dhl.com) \* GKP user name (obtained when setting up your business account with Parcel Germany) \* GKP password (obtained when setting up your business account with Parcel Germany) &lt;h3&gt;Technical Information&lt;/h3&gt; This uses an implementation of OAuth2 Password Grant (RFC 6749). After successfull usage you will: \* have an opaque access token to be used for API calls afterwards \* this token will have an expiration time

v1.0.0(1mo ago)023↓86.1%unlicensePHPPHP ^8.1

Since Jun 2Pushed 1mo agoCompare

[ Source](https://github.com/creatissimo/dhl-oauth)[ Packagist](https://packagist.org/packages/creatissimo/dhl-oauth)[ Docs](https://openapi-generator.tech)[ RSS](/packages/creatissimo-dhl-oauth/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

OpenAPIClient-php
=================

[](#openapiclient-php)

This API describes how API client can obtain a token which is used to access various Parcel Germany APIs. Using this API is often the first step in making your API call.

### Preconditions

[](#preconditions)

 You will need: - client ID (aka "API Key", obtained when you create an app in developer.dhl.com)
- client secret (aka "API Secret", obtained when you create an app in developer.dhl.com)
- GKP user name (obtained when setting up your business account with Parcel Germany)
- GKP password (obtained when setting up your business account with Parcel Germany)

### Technical Information

[](#technical-information)

This uses an implementation of OAuth2 Password Grant (RFC 6749). After successfull usage you will: \* have an opaque access token to be used for API calls afterwards \* this token will have an expiration time Installation &amp; Usage
------------------------

[](#installation--usage)

### Requirements

[](#requirements)

PHP 8.1 and later.

### Composer

[](#composer)

To install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:

```
{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
    }
  ],
  "require": {
    "GIT_USER_ID/GIT_REPO_ID": "*@dev"
  }
}
```

Then run `composer install`

### Manual Installation

[](#manual-installation)

Download the files and include `autoload.php`:

```
