@datafire/scrapewebsite_email

6.0.0 • Public • Published

@datafire/scrapewebsite_email

Client library for Scrape Website Email API

Installation and Usage

npm install --save @datafire/scrapewebsite_email
let scrapewebsite_email = require('@datafire/scrapewebsite_email').create();

.then(data => {
  console.log(data);
});

Description

ScrapeWebsiteEmail is a service that exposes an api to fetch e-mails from a website.

Actions

v1.ping.json.get

Returns ‘pong’ if the site is up

scrapewebsite_email.v1.ping.json.get(null, context)

Input

This action has no parameters

Output

Output schema unknown

v1.scrape_emails.json.get

Returns a list of emails scraped by priority (ie. e-mails appear on top level pages are first). Please note that subsequent calls to the same url will be fetched from the cache (14 day flush).

Will also parse patterns such as hello[at]site.com, hello[at]site[dot]com, hello(at)site.com, hello(at)site(dot)com, hello @ site.com, hello @ site . com.

Please do note we cannot parse sites that require a login (for now), so for some Facebook pages it is not possible at the moment to fetch the e-mail.

Finally, please note that the api will fetch links for up to 2 minutes. After that time it will start analysing the pages which have been scraped. Therefore please ensure that your client has a timeout of at least 150 seconds (2 mins to fetch and the rest to parse).

Please note that due to the fact that the api goes out to fetch the pages, the server allows only 1 concurrent request/ip. Requests which are made while the 1 request is still processing will result in a 429 code.

Please note that as of May 25, 2014, the main mechanism of tracking usage will be done via Mashape. You can get the free calls by signing up with the FREE plan.

Please visit https://www.mashape.com/tommytcchan/scrape-website-email.

There is now a limit of 5 requests per day using this sample interface.

scrapewebsite_email.v1.scrape_emails.json.get({
  "website": ""
}, context)

Input

  • input object
    • website required string:

      The website (ie. www.soundflair.com)

    • must_include string:

      Output

      Output schema unknown

      v1.scrape_store_links.json.get

      Attempts to grab the google store url or the ios store url for a site, after searching through the site.

      scrapewebsite_email.v1.scrape_store_links.json.get({
        "website": ""
      }, context)

      Input

      Output

      Output schema unknown

      Definitions

      This integration has no definitions

Readme

Keywords

none

Package Sidebar

Install

npm i @datafire/scrapewebsite_email

Weekly Downloads

0

Version

6.0.0

License

MIT

Unpacked Size

8.19 kB

Total Files

4

Last publish

Collaborators

  • datafire