zhipin

simple javascript api for boss zhipin

Usage no npm install needed!

<script type="module">
  import zhipin from 'https://cdn.skypack.dev/zhipin';
</script>

README

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.