0.1.0 • Published 8 years ago

jandi v0.1.0

Weekly downloads
9
License
MIT
Repository
github
Last release
8 years ago

jandi

Jandi Node SDK for webhook.

version download

js-standard-style

Install

npm install jandi

Jandi Webhook Usage

At first, you have to apply and copy webhook url

step1

step2

step3

Webhook usage

var Jandi = require('jandi')

var jandi = new Jandi()
jandi.setWebhook(__webhookURL__)

jandi.webhook({
  body: '[MADSquare](http://madsquare.net) provides a new paradigm which is in line with the current mega-trend of increasing production and consumption of media, and blurring boundaries within platforms. Our goal is to quickly and easily deliver valuable media to users without classifying media based on genre, platform, and nationality.',
  connect: {
    color: '#000000',
    info: [
      {
        title: 'SNACKK',
        description: [
          'You’ve never created a video? No need to worry!',
          'With SNACKK, anyone can create their own channel by using our media platform to find online media contents, including YouTube, Vimeo, dailymotion, Youku, and more.',
          '',
          'Experience a wide variety of channels'
        ].join('\n')
      },
      {
        title: 'Location',
        description: 'LF, 20-4, Dosan-daero 8-gil, Gangnam-gu, Seoul ',
        imageUrl: 'http://madsquare.net/gmap.png'
      }
    ]
  }
}, function (err) {
  console.error(err)
})

Result

result

LICENSE

jandi is licensed under the MIT license.