node-guerrilla

0.0.3 • Public • Published

node-guerrilla

API wrapper for http://www.guerrillamail.com

gn = require 'node-guerrilla'
 
# Creates a new random email
gn.get_email()
.then (account) ->
  console.log account
  # account result
  # {
  #   msh: 'making new addre',
  #   email_addr: 'yfmhsjov@guerrillamailblock.com',
  #   email_timestamp: 1391814667,
  #   alias: 'e9jmpf2+osding',
  #   sid_token: 'jc1u7n2g08a34kklchiugg84j6'
  # }
 
 
  # Checks email on an interval and searches for an email that
  # has the subject 'Test Email' and a link in the body that matches 'string_to_find'
 
  gn.get_link_poll 'Test Email', 'string_to_find', account.sid_token
  .then (link) ->
    console.log link

Readme

Keywords

none

Package Sidebar

Install

npm i node-guerrilla

Weekly Downloads

1

Version

0.0.3

License

BSD

Last publish

Collaborators

  • rjferguson21