Skip to content
Michał Oręziak edited this page Jun 12, 2019 · 1 revision

In our package @warsawlo/lava we included a bunch of URLs to recruitment systems we support.

Currently (for year 2019), we included in our package following URLs:

Using predefined URLs

To use these URLs you have to:

  • require one of them from @warsawlo/lava/urls/{currentYear} (ex. @warsawlo/lava/urls/2019)
  • Pass chosen URL to baseURL param when creating Lava instance
const { 
    WARSAW_AFTER_SECONDARY_SCHOOL_URL
    } = require('@warsawlo/lava/urls/2019')

const Lava = require('./src/Lava')({
  baseURL: WARSAW_AFTER_SECONDARY_SCHOOL_URL
})

Using custom baseURL

The fact that the system you find is not on our predefined URLs list doesn't mean it's not supported. Our lib supports most of Vulcan recruitment systems. In order to use a custom baseURL you just have to pass it to baseURL param when creating Lava instance.

const Lava = require('./src/Lava')({
  baseURL: 'https://warszawa-pogim.edu.com.pl'
})

WARNING! - URL you pass as baseURL has to be a valid absolute URL with a protocol. We highly recommend passing URLs with https protocol.

Limitations when using custom baseURL

You can't use city filter in search function of Lava.Search module.

Clone this wiki locally