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 🙏

© 2024 – Pkg Stats / Ryan Hefner

tahvel

v1.0.1

Published

Tools for tahvel-eesti system

Downloads

9

Readme

Tahvel api gateway

Tahvli kasutamiseks on vajalik sisse logida kas ID-kaardi, mobiil-ID, pangalingi kaudu (valik "TARA"), mis võimaldab ka SmartID kasutamist või HarID kasutajanime ja parooliga.

Installation

npm i tahvel -g

Examples

import {getSchedule} from "tahvel";

const SCHOOL_ID = 8; // ID you can take in down of the readme
const GROUP_NAME = "JPTV22"; // You basically school group id

(async () => {
    const data = await getSchedule(SCHOOL_ID, GROUP_NAME, {
        year: 2022,
        month: 9,
        day: 7
    });
    console.log(data);
})()

Estonian school list

| ID | School code | School name | | -- | ------------ | ------------------------------------------ | | 1 | TKAK | Tallinna Kopli Ametikool | | 2 | HAK | Hiiumaa Ametikool | | 3 | EBS | Estonian Business School | | 4 | RAK | Räpina Aianduskool | | 5 | Olustvere | Olustvere Teenindus- ja Maamajanduskool | | 6 | Nooruse | Tartu Tervishoiu Kõrgkool | | 7 | JKHK | Järvamaa Kutsehariduskeskus | | 8 | IVKHK | Ida-Virumaa Kutsehariduskeskus | | 9 | VIKK | Viljandi Kutseõppekeskus | | 11 | TTHK | Tallinna Tööstushariduskeskus | | 12 | SAKSATK | Pärnu Saksa Tehnoloogiakool | | 13 | TK | Tartu Kunstikool | | 14 | TPT | Tallinna Polütehnikum | | 15 | VKOK | Valgamaa Kutseõppekeskus | | 16 | KUS | Eesti EKB Liit Kõrgem Usuteaduslik Seminar | | 17 | TKTK | Tallinna Tehnikakõrgkool | | 18 | MereK | Eesti Merekool | | 19 | VKHK | Võrumaa Kutsehariduskeskus | | 20 | EELK | EELK Usuteaduse Instituut | | 21 | Pallas | Kõrgem Kunstikool Pallas | | 22 | EMKTS | Eesti Metodisti Kiriku Teoloogiline Seminar| | 23 | EAVA | Eesti Lennuakadeemia | | 24 | TLMK | Tallinna Lasnamäe Mehaanikakool | | 25 | MUBA | Tallinna Muusika- ja Balletikool | | 26 | SKA | Sisekaitseakadeemia | | 27 | VVTTK | Vana-Vigala Tehnika- ja Teeninduskool | | 28 | LUUA | Luua Metsanduskool | | 31 | EKA | Eesti Kunstiakadeemia | | 32 | TMK | Tallinna Majanduskool | | 33 | KehtnaKHK | Kehtna Kutsehariduskeskus | | 35 | TTK | Tallinna Tervishoiu Kõrgkool | | 36 | HKHK | Haapsalu Kutsehariduskeskus | | 37 | PKHK | Pärnumaa Kutsehariduskeskus | | 38 | Ametikool | Kuressaare Ametikool | | 39 | TEK | Tallinna Ehituskool | | 40 | TEKO | Tallinna Teeninduskool | | 41 | RAM | Rakvere Ametikool | | 42 | AKRK | Astangu Kutserehabilitatsiooni Keskus | | 43 | HEMK | Heino Elleri Muusikakool | | 44 | KVA | Kaitseväe Akadeemia | | 45 | MIL | Eesti Kaitsevägi | | 46 | EMTK | Eesti Massaaži- ja Teraapiakool |