API Endpoints
Get number of participants
Extracts the number of participants from a PubMed article based on its ID.
Args: request (PubMedRequest): An object containing the PubMed ID.
Returns: dict: A dictionary containing the number of participants.
Raises: HTTPException: If the PubMed ID is invalid or the article is not found.
POST
Body
application/json
Response
200 - application/json
The response is of type any
.