> ## Documentation Index
> Fetch the complete documentation index at: https://help.cryptolens.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Python 2 / IronPython: Response

> The response envelope before its license data has been verified and parsed.

Python 2 / IronPython implementation. [Reviewed source revision](https://github.com/Cryptolens/cryptolens-python/tree/8f38b5a37580f2aba1c9374f581cdc85e251950f).

```python theme={null}
from cryptolens_python2 import Response
```

This is a transport object. Its contents are not proof that a license is valid.

## Properties

| Property | Meaning |
| - | - |
| `license_key` | The encoded license payload from the response. |
| `signature` | The license payload's signature. |
| `result` | The API result code. |
| `message` | The API's result message. |

<a id="cryptolens_python2.Response.from_string" />

## from\_string

Parse the API's JSON response envelope.

```python theme={null}
Response.from_string(responseString)
```

### Parameters

| Parameter | Default | Meaning |
| - | - | - |
| `responseString` | Required | The API response envelope as a JSON string. |

### Result

Returns a `Response` object. This parser uses the expected API field casing, including `licenseKey`. A missing result field becomes an error result.

Invalid JSON or an unexpected JSON structure can raise an exception.

### Checks

Parses fields only. It does not verify signatures or parse the encoded license payload.

[Python SDK Reference](/libraries/python-api)
