# Python SDK

Find the published SDK [here](https://pypi.org/project/ergonames/).

First, we need to import the SDK.

```
pip install ergonames
```

#### resolve\_ergoname()

```python
name = "~balb";
address = ergonames.resolve_ergoname(name);
```

#### check\_already\_registered()

```python
name = "~balb";
registered = ergonames.check_already_registered(name);
```

#### check\_name\_valid()

```python
name = "~balb";
valid = ergonames.check_name_valid(name);
```

#### reformat\_name()

```python
name = "~balb";
reformated_name = ergonames.reformat_name(name);
```

#### check\_name\_price()

```python
name = "~balb";
price = ergonames.check_name_price(name);
```

#### get\_block\_id\_registered()

```python
name = "~balb";
block_id = ergonames.get_block_id_registered(name);
```

#### get\_block\_registered()

```python
name = "~balb";
block = ergonames.get_block_registered(name);
```

#### get\_timestamp\_registered()

```python
name = "~balb";
timestamp = ergonames.get_timestamp_registered(name);
```

#### get\_date\_registered()

```python
name = "~balb";
date = ergonames.get_date_registered(name);
```

#### reverse\_search()

```python
address = "3WwKzFjZGrtKAV7qSCoJsZK9iJhLLrUa3uwd4yw52bVtDVv6j5TL";
token_list = ergonames.reverse_search(address);
```

#### get\_total\_amount\_owned()

```python
address = "3WwKzFjZGrtKAV7qSCoJsZK9iJhLLrUa3uwd4yw52bVtDVv6j5TL";
amount_owned = ergonames.get_total_amount_owned(address);
```
