zhipin

0.0.4 • Public • Published

zhipin

simple javascript api for boss zhipin

zhipin Build Status

Installation

$ yarn add zhipin

Example

const zhipin = require('zhipin')({
  cookie: '-- PUT YOUR COOKIE HERE --'
});

(async () => {
  const joblist = await zhipin.joblist();
  const [ job ] = joblist.data;
  const { encryptJobId } = job;
  const { geekList } = await zhipin.list(encryptJobId);
  const [ geek ] = geekList;
  const response = await zhipin.greeting(jobId, geek);
  console.log(response);
})();

Contributing

  • Fork this Repo first
  • Clone your Repo
  • Install dependencies by $ npm install
  • Checkout a feature branch
  • Feel free to add your features
  • Make sure your features are fully tested
  • Publish your local branch, Open a pull request
  • Enjoy hacking <3

MIT

This work is licensed under the MIT license.


/zhipin/

    Package Sidebar

    Install

    npm i zhipin

    Weekly Downloads

    0

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    10.1 kB

    Total Files

    8

    Last publish

    Collaborators

    • song940