1.1.0 • Published 2 years ago

monial v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Monial

Monial is a tool to collet and display testimonials. You can use this library to interact with Monial.

To use monial you'll need: 1. A Monial account 2. Your project's API token 3. Library installed in your project

Download library

npm install monial or yarn add monial

Library features

  1. Get testimonials data from Monial
  2. Post testimonials to Monial

If you're looking for using Monial pop-ups, go to framework specific library, like monial_react

Get testimonials from Monial

Use this method to get testimonials data from Monial:

const getTestimonialsData = require("monial")

getTestimonialsData({token: "your_api_token_here"})
PropsRequired
tokentrue

Post testimonials from Monial

Use this method to post any testimonials to Monial:

const postTextTestimonial = require("monial")

postTextTestimonial({
    token: "your_api_token_here",
    testimonial: "This is a test testimonial",
    name: "John Doe",
    image: "https://www.google.com/img/logo_lg.png",
    position: "CEO",
    type: "text"
})
PropsRequired
tokentrue
testimonialtrue
nametrue
imagetrue
positiontrue
typetrue

Contribution

You can't contribute.

License

MIT

Thats all