---
title: InfoApi
summary: Python SDK: the Info operations, 1 method, each with its parameters, result and a complete example.
order: 19
languages: [python]
sdk-package: Python SDK · bimworks
link-terms: true
---

# InfoApi

[[page:reference/sdk/python|Python SDK]] · `bimworks` · class · 1 method

General information about the instance

Construct it with the client of [[page:reference/sdk/python#connect|the connect step]]: `bimworks.InfoApi(client)`. Each method is one operation of the [[page:api|API part]], where it runs on its page.

<table class="dense">
<thead><tr><th>Method</th><th>Operation</th><th>Description</th></tr></thead>
<tbody>
<tr><td><code>[[page:reference/sdk/python/infoapi#getapplicationversion|get_application_version]]</code></td><td>[[openapi:GetApplicationVersion]]</td><td>The BIM.works version of the instance</td></tr>
</tbody>
</table>

## `get_application_version` {#getapplicationversion}

```python
def get_application_version(self) -> GetApplicationVersion200Response
```

The BIM.works version of the instance. The version of BIM.works the instance runs, to check compatibility. No credential needed.

<table class="dense">
<tbody>
<tr><th>Operation</th><td>[[openapi:GetApplicationVersion]] · <code>POST /openapi/info/GetApplicationVersion</code></td></tr>
<tr><th>Scope</th><td>none: callable before logging in</td></tr>
</tbody>
</table>

### Parameters

None: the operation takes no request.

### Returns

<code>[[page:reference/sdk/python/models#GetApplicationVersion200Response|GetApplicationVersion200Response]]</code> — The version

### Example

```python
import json

import bimworks

# 1. Connect to BIM.works (GetApplicationVersion needs no login)
client = bimworks.ApiClient(bimworks.Configuration(host="BIM_WORKS_ADDRESS/openapi"))

# 2. The request
# (GetApplicationVersion takes no request)

# 3. The call
result = bimworks.InfoApi(client).get_application_version()

# 4. The result
print(json.dumps(client.sanitize_for_serialization(result), indent=2))
```
