@blaahaj/jobnet
v1.1.1
Published
A client library for using the (undocumented, unsupported) [jobnet.dk](https://jobnet.dk/) API to read and manipulate one's Job Log.
Readme
@blaahaj/jobnet
A client library for using the (undocumented, unsupported) jobnet.dk API to read and manipulate one's Job Log.
Usage
Prepare a client:
import { Axios } from "axios";
import { BffClient } from "../bff/client.js";
const client = new BffClient(
new Axios({
headers: {
"User-Agent": "...", // be kind, put something useful here :-)
},
}),
);
client.setCookies("..."); // the value of the "Cookies" request headerOnce you've got a client, you can list, create, update, and delete job entries and their attached documents.
