open-polito / open-polito-api

An open source, unofficial API for Politecnico di Torino.
GNU Affero General Public License v3.0
7 stars 0 forks source link

Add "other courses" to API #4

Closed robertolaru closed 2 years ago

robertolaru commented 2 years ago

The official app has another section called "other courses", which displays additional courses. These can be found in vote_data.data.altri_corsi (vote_data specified in user.ts:33).

This is an example of the data contained in vote_data.data.altri_corsi:

{
  '2022': [
    {
      a_acc: 2022,
      cod_ins: [hidden],
      nome_ins_1:[hidden],
      n_cfe: [hidden],
      id_inc_1: [hidden],
      matr_doc: [hidden],
      nome_doc: [hidden],
      cognome_doc: [hidden]
    },
    {
      a_acc: 2022,
      cod_ins: [hidden],
      nome_ins_1: [hidden],
      n_cfe: [hidden],
      id_inc_1: [hidden],
      matr_doc: [hidden],
      nome_doc: [hidden],
      cognome_doc: [hidden]
    }
  ]
}
CapacitorSet commented 2 years ago

Fixed in 774bd15.