SYSMea node.js sdk
This SDK will help you to fetch ads and keywords from Xamine
Installation
npm i -S @hochdreih/sysmea
Authentication
Set up your App
- Put the API Key in
process.env.SYSMEA_API_KEY
- or provide it in the constructor
const sysmea = new SYSMEA(<yourAPIKey>)
Test
npm test
Examples
General Usage (Typescript)
import {SYSMEA} from "../index";
const sysmea = new SYSMEA();
(async () => {
try {
const domain = 'yourdomain.tld'
const keyword = 'darlehen'
const ads = await sysmea.ads(domain);
console.table(ads);
const keywords = await sysmea.keywords(domain);
console.table(keywords);
const reverse = await sysmea.reverseKeyword(keyword);
console.table(reverse);
} catch (e) {
console.log(e);
// Deal with the fact the chain failed
}
})();
Credits
Made with