Skip to content

Commit

Permalink
refactor!: 🔥 remove deprecated partner.semanticscholar.org
Browse files Browse the repository at this point in the history
partner.semanticscholar.org will be turned off in December 2023

BREAKING CHANGE: DEFAULT_PARTNER_API_URL parameter removed
  • Loading branch information
danielnsilva committed Nov 21, 2023
1 parent 4c930db commit 01c9988
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions semanticscholar/AsyncSemanticScholar.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class AsyncSemanticScholar:
'''

DEFAULT_API_URL = 'https://api.semanticscholar.org'
DEFAULT_PARTNER_API_URL = 'https://partner.semanticscholar.org'

BASE_PATH_GRAPH = '/graph/v1'
BASE_PATH_RECOMMENDATIONS = '/recommendations/v1'
Expand All @@ -42,8 +41,6 @@ def __init__(

if api_key:
self.auth_header = {'x-api-key': api_key}
if not api_url:
self.api_url = self.DEFAULT_PARTNER_API_URL

self._timeout = timeout
self._requester = ApiRequester(self._timeout)
Expand Down

0 comments on commit 01c9988

Please sign in to comment.