{"id":23626360,"url":"https://github.com/yetanalytics/xapi-post-client","last_synced_at":"2026-02-13T03:55:20.500Z","repository":{"id":215306167,"uuid":"653279279","full_name":"yetanalytics/xapi-post-client","owner":"yetanalytics","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-14T14:21:13.000Z","size":798,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T22:51:18.723Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yetanalytics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-06-13T18:40:39.000Z","updated_at":"2025-01-14T14:21:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"238b7e72-d127-47c2-b81f-7e3daad0aba5","html_url":"https://github.com/yetanalytics/xapi-post-client","commit_stats":null,"previous_names":["yetanalytics/xapi-post-client"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Fxapi-post-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Fxapi-post-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Fxapi-post-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Fxapi-post-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yetanalytics","download_url":"https://codeload.github.com/yetanalytics/xapi-post-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248111885,"owners_count":21049577,"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-12-27T22:53:06.577Z","updated_at":"2026-02-13T03:55:15.470Z","avatar_url":"https://github.com/yetanalytics.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xapi-post-client\n\n## Description\n\nThis is a client library for POSTing xAPI statements to the specified Learning Record Store (LRS). The function\ntakes EDN format and outputs JSON format to the LRS.\n\n## Usage\n\nThe library includes the function `post-statement` with the parameters `(post-statement endpoint key secret statement)`\n\n`endpoint`: The URI of the LRS including the host and the port. \"/statements\" is automatically added to the end of the endpoint.\n\n`key` and `secret`: The key and secret to the specified LRS.\n\n`statement`: The EDN formatted xAPI statement to POST\n\nNote: When there are no errors thrown, `post-statement` returns a list of ID(s) of the inserted statement(s)\n\n## Example Usage\n\n```\n(def stmt-0\n  {\"id\"     \"00000000-0000-4000-8000-000000000000\"\n   \"actor\" {\"objectType\" \"Agent\"\n            \"name\" \"Eva Kim\"\n            \"mbox\" \"mailto:eva@example.adlnet.gov\"}\n   \"verb\" {\"id\" \"http://adlnet.gov/expapi/verbs/voided\"\n           \"display\" {\"en-US\" \"voided\"}}\n   \"object\" {\"objectType\" \"StatementRef\"\n             \"id\" \"e3612d97-3900-4bef-92fd-d8db73e79e1b\"}})\n```\n\nBelow is an example of POSTing using `post-statement`:\n\n`(post-statement \"http://localhost:8080\" \"username\" \"password\" stmt-0)`\n\n## Makefile\n\n`make test-unit` runs all the unit-tests in `postclient_test.clj`\n\n## License\n\nCopyright © 2023-2025 Yet Analytics, Inc.\n\nDistributed under the Apache License version 2.0.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetanalytics%2Fxapi-post-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyetanalytics%2Fxapi-post-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetanalytics%2Fxapi-post-client/lists"}