0

How to use Scopus API ?

I have problems with Scopus API and this link, https://nonprod-devportal.elsevier.com/documentation/AbstractCitationAPI.wadl. , confused me a lot. I want to find doi’s citations and doi’s exclude-self citations but I am bad at API so I don’t understand at all. I need help and simplify these website, please. P.S. API key, you can use from this website, https://nonprod-devportal.elsevier.com/scopus.html#/. Select ‘Citation Overview API,’ ‘Citations Overview’and ‘Try it out!’

20th Sep 2023, 7:45 AM
นฤสรณ์ อริยสกุลวงศ์
นฤสรณ์ อริยสกุลวงศ์ - avatar
4 Réponses
0
Hello, I hope you are well. I may have the solution to your problem. Explanation of what this webpage is: https://nonprod-devportal.elsevier.com/documentation/AbstractCitationAPI.wadl. This page is a directory for the several different APIs that Elsevier offers to software developers. This page also specifies the different abstractions that each API is privy to. The column section of this page is formatted very strangely, however, if you ignore the strange spacing, you'll see that under the Scopus section is the API you mentioned: https://dev.elsevier.com/documentation/AbstractCitationAPI.wadl This page I linked is the documentation for the Citations Overview API which will help to answer your second question on how to use the API properly. You can read that document to find any other requirements and answer other questions for your API program. Finally, here is a rough sample of an HTTP request for the Scopus Citations API in Python: import requests # Define the API endpoint URL url = 'https://api.example.com/data' # Replace with the actual API endpoint URL # Define the parameters for the request params = { 'doi': ' ', 'pii': ' ', 'scopus_id': ' ', 'pubmed_id': ' ', 'apiKey': ' ', 'httpAccept': 'application/json', 'insttoken': 'YourInstitutionAuthToken', # Replace with your institution's auth token 'access_token': 'YourActiveSessionToken' # Replace with your active session token } try: # Make a GET request to the API endpoint with the specified parameters response = requests.get(url, params=params) # Check if the request was successful (status code 200) if response.status_code == 200: # Parse the JSON response, assuming it's JSON data data = response.json() # Now you can work with the JSON data as a Python dictionary print("API Response:") print(data) else: print(f"Request failed with status code: {response.status} ") except requests.exceptions.RequestException as e: print(f"Request error: {e}")
22nd Sep 2023, 1:22 AM
Jibraeel Abdelwahhab
Jibraeel Abdelwahhab - avatar
0
What if it is google apps script? It will be same as Python?
22nd Sep 2023, 1:44 AM
นฤสรณ์ อริยสกุลวงศ์
นฤสรณ์ อริยสกุลวงศ์ - avatar
0
Also, Token, it is required something from Elsevier? I have no idea how to get it.
22nd Sep 2023, 1:57 AM
นฤสรณ์ อริยสกุลวงศ์
นฤสรณ์ อริยสกุลวงศ์ - avatar
0
citation : xsd: string option: exclude-self, exclude book from https://nonprod-devportal.elsevier.com/documentation/AbstractCitationAPI.wadll Citation and option need to put in params?
22nd Sep 2023, 2:39 AM
นฤสรณ์ อริยสกุลวงศ์
นฤสรณ์ อริยสกุลวงศ์ - avatar