1.1.0 • Published 3 years ago

yokatlas-api v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

yokatlas-api

Unofficial API Wrapper for YÖK's University Information system.

Installation

This package lets you search among all of the undergraduate programs in Turkey by wrapping state's official search API.

npm install --save yokatlas-api

Live Demo

Live Demo is now Working!!

Usage

Import

const yokatlasapi = require("yokatlas-api")

Example Search

Searching by university name:

  // The search must have a function inside that will work as callback.
  new yokatlasapi({
      "uni_adi": "İstanbul"
  }).search(results => console.log(results)) 

Searching by university city and program:

  new yokatlasapi({
      "sehir_adi": "Ankara",
      "program_adi": "İngiliz Dili ve Edebiyatı"
  }).search(results => console.log(results)) 

Search Parameters

ParameterEnglishDefault
yop_koduprogram numberundefined
uni_adiuniversity nameundefined
program_adiprogram nameundefined
sehir_adicity nameundefined
universite_turustate/privateundefined
ucret_bursscholarship/feeundefined
ogretim_turuonline/face to faceundefined

Formatting Parameters

ParameterEnglishDefault
startStarting number for results can be usd for pagination.0
lengthHow much result will be sent back.10
searchSearches parameter in every field.""
puan_turuExam point type of the program."dil"
ust_bsHighest student placement score to be showed.0
alt_bsLowest student placement score to be showed.3000000

Example Query

Search Parameters

  new yokatlasapi({
      "sehir_adi": "Adana",
      "program_adi": "İngiliz",
      "length": 1
  }).search(results => console.log(results)) 

Return Format

[
   {
      "uni_adi":"ADANA ALPARSLAN TÜRKEŞ BİLİM VE TEKNOLOJİ ÜNİVERSİTESİ ",
      "fakulte":"İnsan ve Toplum Bilimleri Fakültesi",
      "program_adi":"İngilizce Mütercim ve Tercümanlık (Fakülte)",
      "sehir_adi":"ADANA",
      "universite_turu":"Devlet",
      "ucret_burs":"Ücretsiz",
      "ogretim_turu":"Örgün",
      "doluluk":"Doldu",
      "yerlesen":[
         "---",
         "62",
         "52",
         "41"
      ],
      "kontenjan":[
         "60+2",
         "60+2",
         "50+2",
         "40+1"
      ],
      "tbs":[
         "---",
         "25.300",
         "24.639",
         "20.800"
      ],
      "taban":[
         "---",
         "365,87488",
         "363,00912",
         "359,78222"
      ]
   }
]
1.1.0

3 years ago

1.0.2

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago