All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added support for paper title search. (3a3f797)
0.8.4 - 2024-07-08
- Replaced debug parameter with Python's standard logging in DEBUG level. (d5bfa38)
- Added specific exceptions for requests responses:
InternalServerErrorException
(HTTP Status 500),GatewayTimeoutException
(HTTP Status 504), andServerErrorException
(base class for HTTP Status 5xx). (298997f)
- Deprecated
debug
parameter. (d5bfa38)
- Version
0.8.3
was not released due to issues in the release process.
0.8.2 - 2024-05-31
- Removed deprecated
authors.aliases
fromPaper
. (ed92c37) - Fixed error generating cURL command. (bc5c916)
0.8.1 - 2024-05-17
0.8.0 - 2024-03-15
- Added support for returning a list of not found paper IDs in
get_papers()
. (3eb5516) - Added support for bulk retrieval in
search_paper()
. (0fa8aac) - Added support for disabling retrying when getting HTTP status 429 by @qiankunli in #84
0.7.0 - 2023-12-29
- Debug mode (fb249e9)
- Added new query parameters to search_paper():
- Added contextsWithIntent property for Citation and Reference (c278e5d)
- Added citationStyles property to Paper (1e7e6b0)
- Increased the default timeout value from 10 to 30 seconds (e5aa367)
- Reduced the limit parameter (from 1000 to 100) to avoid timeout error and improve performance (846e824)
- Removed deprecated aliases property from Author (202945c)
0.6.0 - 2023-11-26
- Added support for asynchronous requests by @gabriel-trigo in #56
- Added
pool_from
parameter inget_recommended_papers()
(d245515)
- Fixed the maximum sum of offset and limit from 10,000 to 1,000 (908838a)
- Removed deprecated URL
partner.semanticscholar.org
(01c9988) - Replaced requests with httpx for asynchronous support
0.5.0 - 2023-08-11
- Added support for Recommendations API. (ef26088)
- Spelling fixes object not found exception by @shauryr in #54
- Removed deprecated parameter
graph_api
. (4fe2245) - Removed deprecated parameter
include_unknown_refs
. (4f188c8)
0.4.1 - 2023-04-01
- Added new query parameters to
search_paper()
:publicationTypes
,openAccessPdf
, andvenue
. (79a86ed)
- Fixed fields of study query parameter name. (2e3b97a)
0.4.0 - 2023-01-23
- Added support for getting multiple papers or authors at once. (eba2372)
- Added support for getting details about paper's author, citation and references. (bd9e19a, 0397761, 6b4f2c7)
- Added support for getting details about author's papers. (f186cea)
get_author()
andget_paper()
should now raise anObjectNotFoundExeception
when the Paper or Author ID is not found. (ae50750)- New
Paper
properties:corpusId
,openAccessPdf
, andpublicationVenue
. (b2ae2bb) - New type:
PublicationVenue
. (648bd77) - Added support for 500 and 504 HTTP errors. (c53c08c, ec23182)
- The
ValueError
exception will be raised when thelimit
parameter is given a value that is out of bounds.
ObjectNotFoundExeception
raised instead of returning an emptydict
.- Removed deprecated methods:
author()
andpaper()
. (06a6a53)
- Deprecated
graph_api
parameter. (4acbd11) - Deprecated
include_unknown_refs
parameter inget_paper()
. (1d74d22)
0.3.2 - 2022-12-25
- Fixed duplicated items issue on traversing results (211bc5d)
0.3.1 - 2022-11-25
0.3.0 - 2022-09-18
- Added support to the new Academic Graph API and its endpoints, including paper and author search.
- Library rewrite using the abstraction design instead of a simple API wrapping. Response fields are accessible as properties, but key-based access is still available.
- Increased the default timeout of API responses to 10 seconds. (416b271)
- Removed direct access to deprecated methods
paper()
andauthor()
. (42d28ca)
- Deprecated
paper()
andauthor()
methods inSemanticScholar
class, which are substituted byget_paper()
andget_author()
. (75d299b)
0.2.1 - 2021-11-02
- Fixed API URL definition issue (eee1df9)