Chanify

Chanify

logo
Chanify - Safe and simple notification tools | Product Hunt

Chanify is a safe and simple notification tools. For developers, system administrators, and everyone can push notifications with API.

Send message:

  • Command Line
    curl --form-string "text=hello" "https://api.chanify.net/v1/sender/token"
  • Python 3
    from urllib import request, parse
    
    data = parse.urlencode({ 'text': 'Hello world!' }).encode()
    req = request.Request("https://api.chanify.net/v1/sender/token", data=data)
    request.urlopen(req)
  • Ruby
    require 'net/http'
    
    uri = URI('https://api.chanify.net/v1/sender/token')
    res = Net::HTTP.post_form(uri, 'text' => 'Hello world!')
    puts res.body
  • Node.js
    const https = require('https')
    const querystring = require('querystring');
    const data = querystring.stringify({ text: 'Hello world!' })
    const options = {
        hostname: 'api.chanify.net',
        port: 443,
        path: '/v1/sender/token',
        method: 'POST',
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded',
            'Content-Length': data.length
            }
        }
        var req = https.request(options, (res) =&gt {
        res.on('data', (d) =&gt {
            process.stdout.write(d);
        });
    });  
    req.write(data);
    req.end();

How to get token?

how to get token