{"id":15621615,"url":"https://github.com/macdja38/minecraft-jsonapi","last_synced_at":"2026-05-17T03:35:41.823Z","repository":{"id":57297426,"uuid":"103062037","full_name":"macdja38/minecraft-jsonapi","owner":"macdja38","description":null,"archived":false,"fork":false,"pushed_at":"2017-10-08T07:04:37.000Z","size":262,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T08:15:06.352Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/macdja38.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}},"created_at":"2017-09-10T21:07:46.000Z","updated_at":"2017-12-28T17:42:00.000Z","dependencies_parsed_at":"2022-09-01T08:41:36.706Z","dependency_job_id":null,"html_url":"https://github.com/macdja38/minecraft-jsonapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macdja38%2Fminecraft-jsonapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macdja38%2Fminecraft-jsonapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macdja38%2Fminecraft-jsonapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macdja38%2Fminecraft-jsonapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macdja38","download_url":"https://codeload.github.com/macdja38/minecraft-jsonapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246207492,"owners_count":20740723,"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-03T09:51:18.932Z","updated_at":"2026-05-17T03:35:36.788Z","avatar_url":"https://github.com/macdja38.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Features\n\nSimple yet powerful [minecraft JSONAPI](https://github.com/alecgorge/jsonapi) module\n\n# Actual real life documentation\n\n[Documentation](https://macdja38.github.io/minecraft-jsonapi)\n\n# Method docs\n[rest](http://mcjsonapi.com/apidocs/)\n\n# Usage\n\n### Import\n```js\nconst Minecraft = require(\"minecraft-jsonapi\");\n```\n\n### Options\n```js\nconst options = {\n  host: \"127.0.0.1\",\n  port: \"25565\",\n  https: false,\n  username: \"username\",\n  password: \"password\",\n};\n```\n\n### Rest Call\n```js\nconst minecraft = Minecraft.createRequest();\n\nconst resultPromise = minecraft.add(\"server.performance\").dispatch(options);\n\nresultPromise.then(console.log).catch(console.error);\n```\n\n### Streaming API\n```js\nconst minecraft = Minecraft.createRequest();\n\nminecraft.add(\"console\", []).add(\"chat\", []).follow(options, console.log)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacdja38%2Fminecraft-jsonapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacdja38%2Fminecraft-jsonapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacdja38%2Fminecraft-jsonapi/lists"}