Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to NPL-data #5

Open
jsfiddler opened this issue Aug 10, 2022 · 0 comments
Open

Access to NPL-data #5

jsfiddler opened this issue Aug 10, 2022 · 0 comments
Labels
toDo To be imolemented

Comments

@jsfiddler
Copy link
Owner

With the following code one can search for metadata on NPL, which would also be displayed via a "ct=XP...."-search.
Additional information: other database providers (soruces), who also contain those entry like INSPEC, ELSEVIER,...
javascript:(function(){ var logXPdata =(XPNum)=>{ var destURL=encodeURI('https://worldwide.espacenet.com/3.2/rest-services/search?q=apd=%27+XPnum); fetch(destURL, { %27headers%27: { %27accept%27: %27application/json,application/i18n+xml%27, %27content-type%27: %27application/json%27, %27epo-trace-id%27: %27ghost%27 }, %27body%27: JSON.stringify({ %27query%27: { %27fields%27: [%27biblio%27,%27publications.doi%27,%27publications.accessnum%27] } }), %27method%27: %27POST%27, %27mode%27: %27cors%27, %27credentials%27: %27include%27 }).then(e=>e.text()).then(e=>{try{console.log(JSON.parse(e))} catch (e){alert(e)} })}; if (window.location.href.includes(%27.espacenet.com%27)||window.location.href.includes(%27search.epo.org%27)){ var XPnum=prompt(%27enter XP-number%27,%27XP012027767%27); logXPdata(XPnum); } else{alert(%27Only works on Espacenet or ANSERA%27)} })();

@jsfiddler jsfiddler added the toDo To be imolemented label Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
toDo To be imolemented
Projects
None yet
Development

No branches or pull requests

1 participant