{"id":20672292,"url":"https://github.com/pasiol/wilmajsonreader","last_synced_at":"2025-09-27T02:30:39.282Z","repository":{"id":119438937,"uuid":"317886830","full_name":"pasiol/WilmaJSONReader","owner":"pasiol","description":null,"archived":false,"fork":false,"pushed_at":"2020-12-04T14:09:46.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-11-16T20:34:52.276Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pasiol.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-02T14:25:16.000Z","updated_at":"2021-02-04T07:11:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"45352ea8-d143-4712-b9dd-4d6c2bc43c88","html_url":"https://github.com/pasiol/WilmaJSONReader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasiol%2FWilmaJSONReader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasiol%2FWilmaJSONReader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasiol%2FWilmaJSONReader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasiol%2FWilmaJSONReader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pasiol","download_url":"https://codeload.github.com/pasiol/WilmaJSONReader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234371465,"owners_count":18821589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T20:33:29.109Z","updated_at":"2025-09-27T02:30:33.947Z","avatar_url":"https://github.com/pasiol.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"WilmaJSONReader\n======================\n\n.. image:: https://img.shields.io/pypi/v/WilmaJSONReader.svg\n    :target: https://pypi.python.org/pypi/WilmaJSONReader\n    :alt: Latest PyPI version\n\nThe Wilma rest client.\n\nSupports getting daily data or date range of the resource. Valid resource types are rooms, teachers and students.\n\nUsage\n-----\n\nThe Wilma JSON schema is quite complex to parse. The Easiest way utilize it, is use some framework, for example the MongoDB Aggregation Framework.\n\nFrom git repo::\n\n python3 WilmaJSONReader/reader.py rooms 01.01.2020 10.01.2020 some.domain.name user password apikey data/\n\n.. image:: https://github.com/pasiol/WilmaJSONReader/raw/main/images/rooms.png\n\nAs library::\n\n    from WilmaJSONReader import reader\n\n    ...\n\n    wilma_reader = reader.WilmaJSONReader(\n        url,\n        user,\n        password,\n        apikey,\n    )\n    wilma_reader.login()\n    dates = wilma_reader.get_dates(\"01.01.2020\", \"10.01.2020\", logger)\n    \n    for day in dates:\n        r = wilma_reader.get_schedule(day, \"rooms\")\n        schedules = r.json()\n        pprint(schedules)\n\nInstallation\n------------\n\nEasiest way is install WilmaJSONReader from PyPi. Before installation create Python virtual environment or install it to container image.\n\nLinux \u0026\u0026 Mac::\n\n    python3 -m venv venv\n    source venv/bin/activate\n\n    pip install WilmaJSONReader\n\n    ...\n\n    deactivate\n\nWindows\n\n   `\u003chttps://docs.python.org/3.8/library/venv.html\u003e`_\n\nUpgrade::\n\n    pip install WilmaJSONReader -U\n\nRequirements\n^^^^^^^^^^^^\n\nPython 3.8 -\u003e\n\nCompatibility\n-------------\n\nLicence\n-------\n\nGNU GENERAL PUBLIC LICENSE Version 3\n\nAuthors\n-------\n\n`WilmaJSONReader` was written by `Pasi Ollikainen \u003cpasi.ollikainen@outlook.com\u003e`_.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpasiol%2Fwilmajsonreader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpasiol%2Fwilmajsonreader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpasiol%2Fwilmajsonreader/lists"}