[**European Parliament MCP Server API v1.3.9**](../../../../README.md)

***

[European Parliament MCP Server API](../../../../modules.md) / [clients/ep/jsonLdHelpers](../README.md) / extractAuthorId

# Function: extractAuthorId()

> **extractAuthorId**(`authorField`): `string`

Defined in: [clients/ep/jsonLdHelpers.ts:181](https://github.com/Hack23/European-Parliament-MCP-Server/blob/main/src/clients/ep/jsonLdHelpers.ts#L181)

Extracts author ID from EP API author field.

## Parameters

### authorField

`unknown`

Raw author/attributed-to field

## Returns

`string`

Author ID string or empty string
