{"id":36500737,"url":"https://github.com/dayschedule/dayschedule-api","last_synced_at":"2026-01-12T02:20:52.756Z","repository":{"id":199254109,"uuid":"702311721","full_name":"dayschedule/dayschedule-api","owner":"dayschedule","description":"Official Node.js library for DaySchedule to integrate online appointments bookings, reservation and calendar scheduling via API","archived":false,"fork":false,"pushed_at":"2024-07-15T11:00:28.000Z","size":159,"stargazers_count":5,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-18T03:05:02.489Z","etag":null,"topics":["appointment-api","appointment-scheduler","appointments","bookings","calendar","calendly","reservation","scheduling"],"latest_commit_sha":null,"homepage":"https://dayschedule.com/docs/api","language":"TypeScript","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/dayschedule.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-09T04:27:36.000Z","updated_at":"2025-01-20T13:06:04.000Z","dependencies_parsed_at":"2023-10-16T16:39:40.598Z","dependency_job_id":"c08a4a78-01f9-4673-a1ba-3f97c1d9e4a5","html_url":"https://github.com/dayschedule/dayschedule-api","commit_stats":{"total_commits":28,"total_committers":3,"mean_commits":9.333333333333334,"dds":0.4642857142857143,"last_synced_commit":"f34dd68b2ae4ce879a5afe57229adce560dc4c85"},"previous_names":["dayschedule/dayschedule"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dayschedule/dayschedule-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayschedule%2Fdayschedule-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayschedule%2Fdayschedule-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayschedule%2Fdayschedule-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayschedule%2Fdayschedule-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dayschedule","download_url":"https://codeload.github.com/dayschedule/dayschedule-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dayschedule%2Fdayschedule-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28332010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["appointment-api","appointment-scheduler","appointments","bookings","calendar","calendly","reservation","scheduling"],"created_at":"2026-01-12T02:20:52.692Z","updated_at":"2026-01-12T02:20:52.748Z","avatar_url":"https://github.com/dayschedule.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dayschedule\n\n[![version](https://img.shields.io/npm/v/dayschedule-api.svg)](https://www.npmjs.com/package/dayschedule-api)\n[![license](https://img.shields.io/npm/l/dayschedule-api.svg)](https://www.npmjs.com/package/dayschedule-api)\n\nOfficial Node.js library for [DaySchedule](https://dayschedule.com/) API to integrate online appointments bookings, reservation and calendar scheduling in any tool with [embeddable widget](https://github.com/dayschedule/dayschedule-widget) on front-end and this SDK on backend for complete white-label appointment scheduling at any scale.\n\n## Installation\n\n```\nnpm i dayschedule-api\n```\n\n## Documentation\n\nFull API documentation to understand the appointment booking flow with DaySchedule is available at -\nhttps://dayschedule.com/docs/api\n\n### Getting started\n\nCreate a `DaySchedule` instance with api key. You can get your api keys from the app https://app.dayschedule.com/settings/apikeys\n\n```\nconst DaySchedule = require('dayschedule-api');\n\nconst daySchedule = new DaySchedule('YOUR_API_KEY');\n\n```\n\nThe SDK is UMD (Universal Module Definition) compatible, which means that it can be loaded in various module formats.\n\n#### ES6 module\n\n```\nimport DaySchedule from 'dayschedule-api'\nconst daySchedule = new DaySchedule('YOUR_API_KEY');\n```\n\n#### CommonJS2 (in e.g. node.js)\n\n```\nconst DaySchedule = require('dayschedule-api');\nconst daySchedule = new DaySchedule('YOUR_API_KEY');\n```\n\nNow, the API can be accessed via the `daySchedule` instance. All the methods follow the namespaced signature. For example, to fetch all the booked appointments -\n\n```\n// API signature\n// {daySchedule}.{api}.{method}(id, [params])\n\n// example\nconst bookings = await daySchedule.bookings.list();\n```\n\nEvery request returns a promise.\n\n### Methods\n\nEach API endpoint has these 5 methods `list`, `get`, `create`, `update`, `delete` API operations. For example, here is the booking API methods -\n\n| Method   | Description                      | Parameters              | Return Value          |\n| -------- | -------------------------------- | ----------------------- | --------------------- |\n| `list`   | Get all the bookings             | `params: any`           | `Promise\u003cBookings[]\u003e` |\n| `get`    | Get details of a booking by ID   | `id: string`            | `Promise\u003cBookings\u003e`   |\n| `create` | Create a new booking             | `data: any`             | `Promise\u003cBookings\u003e`   |\n| `update` | Update an existing booking by ID | `id: string, data: any` | `Promise\u003cBookings\u003e`   |\n| `delete` | Delete a booking by ID           | `id: string`            | `Promise\u003cany\u003e`        |\n\n### Booking example:\n\n```\n// Using promises\ndaySchedule.bookings.create({\n    \"resource\":{\n        \"resource_id\":\"643d0e3511ce9450e585c2a9\",\n    },\n    \"host\":{\n        \"user_id\":758\n    },\n    \"start_at\":\"2023-10-11T09:00:00.000Z\",\n    \"end_at\":\"2023-10-11T09:30:00.000Z\",\n    \"invitees\":[{\n        \"name\":\"John Doe\",\n        \"email\":\"Johndoe@gmail.com\"\n        \"questions\":[\n            {\n                \"type\":\"text\",\n                \"name\":\"age\",\n                \"label\":\"What is your age?\",\n                \"value\":\"18\"\n             },\n         ]}\n    ]\n}).then(function(response){\n  console.log(response);\n}).catch(function(response){\n  console.log(response);\n});\n\n// Using async/await\nconst response = await daySchedule.bookings.create({ ... })\n```\n\n### More examples\n\n- [Resources](docs/resources.md)\n- [Bookings](docs/bookings.md)\n- [invitees](docs/invitees.md)\n- [Pages](docs/pages.md)\n- [Schedules](docs/schedules.md)\n- [Users](docs/users.md)\n- [Workflows](docs/workflows.md)\n- [Contacts](docs/contacts.md)\n\n## Release\n\n1.  Switch to `main` branch.\n2.  Update the `CHANGELOG.md` \u0026 bump the version in `package.json`\n3.  Commit and Tag the release \u0026 push to Github\n4.  Create a release on GitHub with changelog\n5.  Publish to npm with `npm publish` command\n\n## License\n\nMIT Licensed. See [LICENSE.txt](LICENSE.txt) for more details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdayschedule%2Fdayschedule-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdayschedule%2Fdayschedule-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdayschedule%2Fdayschedule-api/lists"}