S2 ModelsΒΆ

PyS2 uses pydantic. to convert the JSON objects returned by the Semantic Scholar API into self-documenting python classes with built-in data validation.