UNPKG

@drjohnvidler/google-scholar-scrape

Version:

Scrapes Google Scholar data to a usable JSON API

12 lines (8 loc) 257 B
import GoogleScholar from "./index.js"; const gs = new GoogleScholar(); try { const citations = await gs.getCitations( 'sRDmoKAAAAAJ' ); console.log( JSON.stringify( citations, null, 2 ) ); } catch (error) { console.error('Error:', error); }