https://github.com/klinkby/borigo2ical
A gateway function to convert a Borigo facility's bookings to iCal calendar format for integration in popular calendar apps.
https://github.com/klinkby/borigo2ical
booking facility ical
Last synced: 4 months ago
JSON representation
A gateway function to convert a Borigo facility's bookings to iCal calendar format for integration in popular calendar apps.
- Host: GitHub
- URL: https://github.com/klinkby/borigo2ical
- Owner: klinkby
- License: mit
- Created: 2023-11-10T07:24:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-10T13:38:00.000Z (over 1 year ago)
- Last Synced: 2025-10-14T15:26:47.279Z (8 months ago)
- Topics: booking, facility, ical
- Language: C#
- Homepage: https://www.borigo.com/
- Size: 145 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Borigo2iCal
A gateway function to convert a ~~Borigo~~ HeyNabo! facility's bookings to iCal calendar format for
integration in popular calendar apps.
## Usage
After deployment the app will expose the endpoint: `https://.azurewebsites.net/api/bookings/{facilityId}`
The facilityId parameter is required to id the HeyNabo! facility.
The function returns a VCalendar file with the bookings from the specified date.
## Hosting
Hosted on Azure Functions v4 isolated dotnet (ReadyToRun) Linux Consumption Plan, the function is triggered by a HTTP request.
Requires the following App Settings in the Function App:
- `ApiClient__RememberUserToken`: The bearer token used to authenticate the user with HeyNabo!
- `ApiClient__Subdomain`: The subdomain of the HeyNabo! account *(e.g. `https://.spaces.heynabo.com`)*
## References
- [dotnet 8.0](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
- [Azure Functions v4](https://docs.microsoft.com/en-us/azure/azure-functions/functions-versions)
- Nuget [RestSharp](https://github.com/restsharp/RestSharp) for communication with the Borigo REST API
- Nuget [Klinkby.VCard](https://github.com/klinkby/klinkby.vcard) for serializing to VCalendar format
## License
[MIT Licensed](LICENSE).