npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

yokatlas-api

v1.1.0

Published

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

Downloads

17

Readme

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

| Parameter | English | Default | | ------ | ------ | ------ | | yop_kodu | program number | undefined | | uni_adi | university name | undefined | | program_adi | program name | undefined | | sehir_adi | city name | undefined | | universite_turu | state/private | undefined | | ucret_burs | scholarship/fee | undefined | | ogretim_turu | online/face to face| undefined |

Formatting Parameters

| Parameter | English | Default | | ------ | ------ | ------ | | start | Starting number for results can be usd for pagination. | 0 | | length | How much result will be sent back. | 10 | | search | Searches parameter in every field. | "" | | puan_turu | Exam point type of the program. | "dil" | | ust_bs | Highest student placement score to be showed. | 0 | | alt_bs | Lowest 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"
      ]
   }
]