{"id":16717421,"url":"https://github.com/panglesd/hockmd","last_synced_at":"2025-04-10T06:43:07.298Z","repository":{"id":41414728,"uuid":"509130895","full_name":"panglesd/hockmd","owner":"panglesd","description":"An ocaml library to access the hackmd API","archived":false,"fork":false,"pushed_at":"2023-06-30T13:38:11.000Z","size":74,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T07:49:12.054Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","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/panglesd.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","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":"2022-06-30T15:17:11.000Z","updated_at":"2023-09-08T18:35:49.000Z","dependencies_parsed_at":"2025-02-16T22:30:53.486Z","dependency_job_id":"1a20d195-61c4-46db-b6ba-a32eb7c699f8","html_url":"https://github.com/panglesd/hockmd","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panglesd%2Fhockmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panglesd%2Fhockmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panglesd%2Fhockmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panglesd%2Fhockmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/panglesd","download_url":"https://codeload.github.com/panglesd/hockmd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248173433,"owners_count":21059594,"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-10-12T21:31:54.602Z","updated_at":"2025-04-10T06:43:07.267Z","avatar_url":"https://github.com/panglesd.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hockmd\n\nAn ocaml library to access the hackmd API.\n\n## Installation\n\n### Using Opam\n\n```bash\nopam install hockmd\n```\n\n## Usage\n\nThe [API](https://panglesd.github.io/hockmd/hockmd/Hockmd/index.html) of the library follows closely the one of the [hackmd API](https://hackmd.io\\@hackmd-api/developer-portal/https%3A%2F%2Fhackmd.io%2F%40hackmd-api%2Fhow-to-issue-an-api-token).\n\nYou will need a token as explained [here](https://hackmd.io/@hackmd-api/developer-portal/https%3A%2F%2Fhackmd.io%2F%40hackmd-api%2Fhow-to-issue-an-api-token).\n\nThe library returns types enclosed in `result` and `promises`. It is advised to make use of ocaml syntax to avoid a too heavy syntax!\n\n``` ocaml\n\nlet token = \".........\"\n\nlet res =\n    let++ notes = Hockmd.notes token in\n    List.iter (fun note -\u003e print_endline note.title) notes\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanglesd%2Fhockmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpanglesd%2Fhockmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanglesd%2Fhockmd/lists"}