We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d39681d commit b4bb7bcCopy full SHA for b4bb7bc
figshare.py
@@ -124,9 +124,9 @@ def __init__(self, page_size=100):
124
self.logger = getLogger("FigShare")
125
self.token = os.getenv('FIGSHARE_TOKEN')
126
if self.token:
127
- self.logger.info("Using authenticated requests with FIGSHARE_TOKEN")
+ self.logger.info("Figshare API: Using authenticated requests")
128
else:
129
- self.logger.warning("No FIGSHARE_TOKEN found - using anonymous requests (may hit rate limits or receive 403 errors)")
+ self.logger.warning("Figshare API: No authentication token found - using anonymous requests (may hit rate limits or receive 403 errors)")
130
self.page_size = page_size
131
self.base_url = "https://api.figshare.com/v2"
132
0 commit comments