Ruby Beispielcode

# -*- coding: utf-8 -*-
 require 'rest-client'
 require 'json'

 url = 'https://api.adresslabor.de/v1/de/check'

 response = RestClient.post( url,
                  {
                    :product      => 'EMX,SC,FK,PB,NC',
                    :firstname    => 'Max',
                    :lastname     => 'Mustermann',
                    :street       => 'Teststr.',
                    :hno          => '9',
                    :zip          => '12345',
                    :city         => 'Entenhausen',
                    :country      => 'DE',
                    :phone        => '01234/56789',
                    :email        => 'test@test-email.de',
                    :apicid       => 1,
                    :apikey       => 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
                  })

 data = JSON.parse(response)

 # Access the complete result.
 puts (data)

 # Access the email-check-result.
 puts (data['em'])

 # Access the email-resulttext.
 puts (data['em']['resulttext'])