3amyah

Scrapper & Wrapper for 3amyah.com

Usage no npm install needed!

<script type="module">
  import amyah from 'https://cdn.skypack.dev/3amyah';
</script>

README

3amyah

Scrapper & Wrapper For 3amyah.com .

Installation

npm install 3amyah

Usage

const _3amyah = require("3amyah");

_3amyah.search("شكو ماكو").then(words => {
  console.log(words);
})

Response Example

Search

search(word) -->
[
  {
    id: Number,
    word: String,
    definition: String,
    example: String,
    author: String,
    upVoteCount: Number,
    downVoteCount: Number,
    dateCreate: Date (ISO 8601),
    pronunciationFileName: String,
    person?:
     { id: Number,
       name: String,
       profileImageName20: String 
     },
    countryList: Array(String),
    landingMap: Object } ]
  }
]