get_metadata_value method

get_metadata_value

Gets the metadata value.

def get_metadata_value(self, name):
    ...
Parameter Type Description
name str The name of the metadata.

Returns: str or None: The value of the metadata item, or None if the metadata with this name isn’t found.

Example

    from groupdocs.parser import Parser

    with Parser("archive.zip") as parser:
        for item in parser.get_container() or []:
            print(item.name, item.get_metadata_value("author"))
    ```

### Aliases

These names call `get_metadata_value` too, limited to the overloads listed.

| Alias | Accepts |
| :- | :- |
| `get_metadata_value_file` | `get_metadata_value_file(name)` |
| `get_metadata_value_string` | `get_metadata_value_string(name)` |

### See Also
* class [`ContainerItem`](/parser/python-net/groupdocs.parser.data/containeritem/)