andreafra / polimi-careerservice-job-list

A third-party table of all the jobs available on Polimi's CareerService website.

Home Page:polimi-careerservice-jobs.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm create svelte@latest

# create a new project in my-app
npm create svelte@latest my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Technical Details

Locales

  • en-US
  • it-IT

Categories

You can fetch categories with the query:

https://www.careerservice.polimi.it/api/it-IT/Announcement/Courses

which returns the following schema:

interface Response {
  data: Array<{
    fieldId: string // an incremental id
    fieldName: string // category name
    hightPercent: 38 // lol, a typo!
    isBroken: false // why
    subscriptions: 31 // the number of jobs posted
  }>
}

Jobs

You can fetch jobs in a category with the query:

https://www.careerservice.polimi.it/api/it-IT/Announcement/Announcements?PagedFilter.NumberOfPages=16&PagedFilter.PageIndex=1&PagedFilter.PageSize=10&companyName&companyNameId&announcement&announcementId&onlyFavoriteCompanies=false&onlyFavoriteAnnouncements=false&location&location_it&location_es&paid&courses[0]=74465615

which returns the following schema:

interface Response {
  data: {
    numberOfPages: number
    pageIndex: number
    pages: Array<{
        announcementType: string // Job, Stage ...
        companyName: string
        date: string // format: "2023-12-01 12:00:00"
        id: string // numeric
        isFavourite: boolean
        location: string
        name: string
        pictureUrl: string
        pictureUrlGray: string
        stored: number,
        hasRimborso: boolean,
        tipologia: string // Job, ...?
    }>
    totalItems: number,
    showAlert: boolean
  }
  hasError: boolean
}

Job Details

First you need the following cookies:

  • careerApp
  • JSESSION

Then GET the following URL:

https://www.careerservice.polimi.it/api/it-IT/Announcement/Announcement?announcementId={ID}&announcementType={JOB}

About

A third-party table of all the jobs available on Polimi's CareerService website.

polimi-careerservice-jobs.vercel.app


Languages

Language:Svelte 61.2%Language:TypeScript 31.0%Language:JavaScript 5.3%Language:HTML 1.9%Language:CSS 0.5%