{"id":23988836,"url":"https://github.com/philip-bui/libcal-client","last_synced_at":"2025-10-13T05:44:57.485Z","repository":{"id":36317085,"uuid":"219101339","full_name":"philip-bui/libcal-client","owner":"philip-bui","description":"Java Library for accessing the LibCal API.","archived":false,"fork":false,"pushed_at":"2022-11-16T02:57:04.000Z","size":22,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-07T16:18:16.510Z","etag":null,"topics":["booking-system","github-actions","github-package-registry","java","libcal"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/philip-bui.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2019-11-02T04:05:14.000Z","updated_at":"2021-11-29T19:02:16.000Z","dependencies_parsed_at":"2023-01-17T00:24:29.548Z","dependency_job_id":null,"html_url":"https://github.com/philip-bui/libcal-client","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/philip-bui%2Flibcal-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philip-bui%2Flibcal-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philip-bui%2Flibcal-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philip-bui%2Flibcal-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philip-bui","download_url":"https://codeload.github.com/philip-bui/libcal-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240593178,"owners_count":19825939,"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":["booking-system","github-actions","github-package-registry","java","libcal"],"created_at":"2025-01-07T16:18:19.537Z","updated_at":"2025-10-13T05:44:52.446Z","avatar_url":"https://github.com/philip-bui.png","language":"Java","readme":"# LibCal Client\n[![Actions Status](https://github.com/philip-bui/libcal-client/workflows/build/badge.svg)](https://github.com/philip-bui/libcal-client/actions)\n\n[LibCal](https://ask.springshare.com/libcal) is an online booking system used to reserve, check bookings and availabilities, and manage booking spaces.\n\n## Requirements\n\n- Retrieve a valid ClientID and ClientSecret from your Admin with the necessary API permissions.\n- Retrieve the host of your LibCal instance. E.g https://usyd.libcal.com.\n\n## Installation\n\n### Maven\n\nSet up Apache Maven to authenticate to GitHub Package Registry by editing your ~/.m2/settings.xml. For more information, see \"[Authenticating to GitHub Package Registry](https://help.github.com/en/github/managing-packages-with-github-package-registry/configuring-apache-maven-for-use-with-github-package-registry#authenticating-to-github-package-registry)\".\n\n```xml\n\u003cdependencies\u003e\n  \u003cdependency\u003e\n    \u003cgroupId\u003ecom.philipbui.libcal\u003c/groupId\u003e\n    \u003cartifactId\u003elibcal-client\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n  \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n### Gradle\n\nSet up Gradle to authenticate to GitHub Package Registry by editing your build.gradle or build.gradle.kts file. For more information, see \"[Authenticating to GitHub Package Registry](https://help.github.com/en/github/managing-packages-with-github-package-registry/configuring-gradle-for-use-with-github-package-registry#authenticating-to-github-package-registry)\".\n\n```gradle\ndependencies {\n    implementation(\"com.philipbui.libcal:libcal-client:1.0.0\")\n}\n```\n\n## Usage\n\n```java\nLibCalClient libCalClient = new LibCalClient();\nString accessToken = libCalClient.getAccessToken(host, clientID, clientSecret).getAccessToken();\nSpaceLocation[] spaceLocations = libCalClient.getSpaceLocations(host, accessToken);\n\n// Or use a BookingService to do common booking functionality.\n\nLibCalBookingService libCalBookingService = new LibCalBookingService(host, libCalClient, clientID, clientSecret);\nlibCalBookingService.getBookableSpaceIDs(categoryIDs, spaceIDs, accessToken, dateStart, dateEnd);\n```\n\n## Features\n\n### API\n\n- [X] Locations\n- [ ] Form for Space ID\n- [ ] Form Question by Question IDs\n- [X] Location Categories by Location IDs\n- [X] Location Category Spaces\n- [X] Reserve Space by Space ID\n- [ ] Booking Information by Booking ID\n- [ ] All Bookings Information by Date\n- [X] Cancel Space Booking\n- [ ] All Confirmed Bookings Information \n\n### Service\n\n- [ ] Automatically retrieve new Access Tokens on expire.\n- [X] Get available Spaces for Category.\n- [X] Get all Spaces and their descriptions for every Location or Category.\n\n## License\n\nLibCal Client is available under the MIT license. [See LICENSE](https://github.com/philip-bui/libcal-client/blob/master/LICENSE) for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilip-bui%2Flibcal-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilip-bui%2Flibcal-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilip-bui%2Flibcal-client/lists"}