@hochdreih/sysmea

2021.8.12 • Public • Published

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 ❤️ at Tegernsee by hochdreih

Package Sidebar

Install

npm i @hochdreih/sysmea

Weekly Downloads

1

Version

2021.8.12

License

ISC

Unpacked Size

17.9 kB

Total Files

19

Last publish

Collaborators

  • hochdreih-mh