Documentation

Documentation of the API

The API is currently still in development. These changes may occur at any time adjustments to the interface.

REST API

Here you can find the public part of the API for the use as a licensee. To use this API, you need a valid license which can be purchased through our sales pages. Unless you have specific questions or wishes to the API, please send us a message via our Contact Form.

The evaluations are available in different languages.

Our selling sites:

Liebe, Beziehung, Persönlichkeit: Get Licence

Here you can purchase the products regularly:

Liebe, Beziehung, Persönlichkeit: purchase here

Licence-Check

/licence/?licence_key=XXX

This functions checks if the bought licence is active. The result is of the query is a JSON-Object

Beispiel-Ausgabe:

{
"code": 200,
"lizenz_email": "test@example.org",
"lizenz_key": "xxx-xxx-xxx-xxx",
"lizenz_status": "active",
"lizenz_credits": "9982",
"lizenzart": "Prepaid",
"lizenz_auswertungen": "69"
}

Analysis for the Tool Liebe, Beziehung, Persönlichkeit

/liebe/bday/?licence_key=xxx-xxx-xxx-xxx&bday=xx.xx.xxxx

For the use of our licensees certain aspects of data protection must be respected. All personal data remains on the client side. There, a hash is generated, and is determined to the API and returns the evaluation in the form of a JSON object.

Example::

The sample is outsourced in a GitHub-Repository.

SHOW IT

Analysis for the Tool Soft Skills

/softskills/bday/?bday=01.01.1990&licence_key=XXX

For the use of our licensees certain aspects of data protection must be respected. All personal data remains on the client side. There, a hash is generated, and is determined to the API and returns the evaluation in the form of a JSON object.

Example::

The sample is outsourced in a GitHub-Repository.

SHOW IT

Analysis for the Tool Entscheidungen

/entscheidungen?stichtag=17.07.2015&bday=17.11.1975;08.08.1975;07.08.1975&licence_key=xxx-xxx-xxx-xxx

For the use of our licensees certain aspects of data protection must be respected. All personal data remains on the client side. There, a hash is generated, and is determined to the API and returns the evaluation in the form of a JSON object.

Example::

The sample is outsourced in a GitHub-Repository.

SHOW IT

Read userdata

/user/data?email=test@example.org&licence_key=xxx-xxx-xxx-xxx

With the license key as parameter you can read the user data of the licensee and various other data.

Example:

{
"code": 200,
"vorname": "Max",
"nachname": "Mustermann",
"email": "max.mustermann@example.org",
"street": "Musterstr. 123",
"plz": "12345",
"city": "Musterstadt",
"bday": 01.01.2000
}

Update userdata

/user/update/?licence_key&...

This interface allows the users of the app to manage data of their profile or to keep up to date.

As transfer parameters are used the first name, last name, street, city, zip code and date of birth

Example:

{
"code": 200,
"message": "success"
}

Example PHP Request

To contact our API, it only requires a simple call to the PHP function file_get_contents ($ url) with the API URL as a parameter.

Example:

$result = file_get_contents(
"https://api.nabenhauer-consulting.com
/wp-json/api/v1/liebe/bday?bday=01.01.2000&licence_key=xxx-xxx-xxx-xxx");