@@ -13,8 +13,11 @@ class Config:
1313
1414 OPENAI_API_KEY = os .environ .get ("OPENAI_API_KEY" , "" )
1515 IEEE_API_KEY = os .environ .get ("IEEE_API_KEY" , "" )
16- OPENCITATIONS_API_KEY = os .environ .get ("OPENCITATIONS_API_KEY" , "" )
17- CORE_API_KEY = os .environ .get ("CORE_API_KEY" , "" )
16+ OPENCITATIONS_API_KEY = os .environ .get ("OPENCITATIONS_API_KEY" , "" )
17+ CORE_API_KEY = os .environ .get ("CORE_API_KEY" , "" )
18+
19+ DASHBOARD_USERNAME = os .environ .get ("DASHBOARD_USERNAME" )
20+ DASHBOARD_PASSWORD = os .environ .get ("DASHBOARD_PASSWORD" )
1821
1922 REQUEST_HEADER_USER_AGENT = "nfdi4dsBot/1.0 (https://www.nfdi4datascience.de/nfdi4dsBot/; nfdi4dsBot@nfdi4datascience.de)"
2023 REQUEST_TIMEOUT = 100
@@ -227,7 +230,7 @@ class Config:
227230 "module" : "dblp_venues" ,
228231 "search-endpoint" : f"https://dblp.org/search/venue/api?format=json&h={ NUMBER_OF_RECORDS_FOR_SEARCH_ENDPOINT } &q=" ,
229232 },
230- "OpenCitations" :{
233+ "OpenCitations" : {
231234 "logo" : {
232235 "name" : "OpenCitations" ,
233236 "link" : "https://opencitations.net/" ,
@@ -238,9 +241,9 @@ class Config:
238241 "module" : "opencitations" ,
239242 "citations-endpoint" : "https://opencitations.net/index/api/v2/citations/doi:" ,
240243 "get-publication-references-endpoint" : "https://opencitations.net/index/api/v2/references/doi:" ,
241- "metadata-endpoint" : "https://opencitations.net/meta/api/v1/metadata/doi:"
244+ "metadata-endpoint" : "https://opencitations.net/meta/api/v1/metadata/doi:" ,
242245 },
243- "CORE" :{
246+ "CORE" : {
244247 "logo" : {
245248 "name" : "CORE" ,
246249 "link" : "https://core.ac.uk/" ,
@@ -250,7 +253,7 @@ class Config:
250253 },
251254 "module" : "core" ,
252255 "search-endpoint" : f"https://api.core.ac.uk/v3/search/works/?limit={ NUMBER_OF_RECORDS_FOR_SEARCH_ENDPOINT } &q=" ,
253- }
256+ },
254257 # "dblp - Publications": {
255258 # "module": "dblp_publications",
256259 # "search-endpoint": f"https://dblp.org/search/publ/api?format=json&h={NUMBER_OF_RECORDS_FOR_SEARCH_ENDPOINT}&q=",
0 commit comments