{"id":15192567,"url":"https://github.com/linusbolls/code-university-sdk","last_synced_at":"2026-01-05T23:48:16.266Z","repository":{"id":225168748,"uuid":"765259344","full_name":"LinusBolls/code-university-sdk","owner":"LinusBolls","description":"Functionality and data related to CODE University of Applied Sciences (https://code.berlin), specifically the CODE Learning Platform (https://app.code.berlin).","archived":false,"fork":false,"pushed_at":"2024-07-23T15:26:10.000Z","size":671,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T07:31:52.166Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LinusBolls.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-02-29T15:25:05.000Z","updated_at":"2024-07-23T15:26:14.000Z","dependencies_parsed_at":"2024-09-18T19:02:57.270Z","dependency_job_id":"ea2fd1cb-05a7-4725-9ddd-97786e7bff3c","html_url":"https://github.com/LinusBolls/code-university-sdk","commit_stats":{"total_commits":50,"total_committers":4,"mean_commits":12.5,"dds":"0.33999999999999997","last_synced_commit":"eb52b250dfa9c54b7c997bd91775efcb72130d36"},"previous_names":["linusbolls/code-university-sdk"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusBolls%2Fcode-university-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusBolls%2Fcode-university-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusBolls%2Fcode-university-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusBolls%2Fcode-university-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LinusBolls","download_url":"https://codeload.github.com/LinusBolls/code-university-sdk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238536128,"owners_count":19488661,"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-09-27T21:42:41.128Z","updated_at":"2026-01-05T23:48:16.222Z","avatar_url":"https://github.com/LinusBolls.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# code-university\n\nFunctionality and data related to CODE University of Applied Sciences (https://code.berlin), specifically the CODE Learning Platform (https://app.code.berlin).\n\n## Tested with\n\n- [CODE Learning Platform](https://app.code.berlin) v2.14.5\n- NodeJs v20.5.1\n- NPM v9.8.0\n\n## Install\n\nInstall the package:\n\n```bash\nnpm install code-university\n```\n\n## Examples\n\n```typescript\n// basic usage\nimport { LearningPlatformClient } from 'code-university';\n\nasync function main() {\n  const learningPlatform = await LearningPlatformClient.fromRefreshToken(\n    process.env.LEARNING_PLATFORM_REFRESH_TOKEN\n  );\n  const settings = await learningPlatform.getOwnSettings();\n\n  console.log(settings);\n}\nmain();\n```\n\n## Retrieving a refresh token from the CODE Learning Platform\n\n1. Open https://app.code.berlin\n2. Open the browser devtools using `Cmd + Shift + I` on mac or `Ctrl + Shift + I` on windows\n3. Click on the `Application` tab\n4. On the left side of the `Application` tab, click `Cookies` \u003e `https://app.code.berlin`\n5. Double-click the `Value` field of the `cid` cookie, and copy it to your clipboard.\n\n![Screenshot of the cookies tab](docs/getting-your-access-token.webp)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinusbolls%2Fcode-university-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinusbolls%2Fcode-university-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinusbolls%2Fcode-university-sdk/lists"}