{"size": 395, "ext": "js", "max_stars_repo_path": "example/example.js", "max_stars_repo_name": "fasttrack/fasttrack-js", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "example/example.js", "max_issues_repo_name": "fasttrack/fasttrack-js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "example/example.js", "max_forks_repo_name": "fasttrack/fasttrack-js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.7894736842, "max_line_length": 74, "alphanum_fraction": 0.6506329114}
/* @flow */

import {Fasttrack} from '../src';

/* eslint-disable no-console */

var client = new Fasttrack('your_token');
// var client = new Fasttrack('719b9830b37a0da84c6917e0db6845b8489306bd');

client.getCompany('example.com')
  .then((company: Object): void => {
    console.log(company);
  })
  .catch((err: Error): void => {
    console.error(err);
  });

/* eslint-enable no-console */
