materials_compendium.utils.ElementInfo.get_id

ElementInfo.get_id()[source]

Get the identifier associated with the element.

Returns:

The element identifier.

Return type:

str

Example

print(element_info.get_id()) # Output: “42”