https://github.com/hunam6/minecraft-deno
A full Minecraft API wrapper for Deno 🦕
https://github.com/hunam6/minecraft-deno
api-wrapper deno minecraft minecraft-api mojang mojang-api
Last synced: 3 months ago
JSON representation
A full Minecraft API wrapper for Deno 🦕
- Host: GitHub
- URL: https://github.com/hunam6/minecraft-deno
- Owner: Hunam6
- License: mit
- Created: 2021-03-11T16:46:26.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-20T16:22:51.000Z (over 4 years ago)
- Last Synced: 2025-03-15T13:12:41.056Z (7 months ago)
- Topics: api-wrapper, deno, minecraft, minecraft-api, mojang, mojang-api
- Language: TypeScript
- Homepage: https://deno.land/x/minecraft
- Size: 42 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
minecraft-deno
A Minecraft/Mojang API wrapper for Deno
---
### Example usage
```typescript
import {nameHistory, login, setSkin} from 'https://deno.land/x/minecraft/mod.ts'
nameHistory('_Hunam').then(res => console.log(res))
login('my e-mail', 'my password')
.then(sec => setSkin(sec, 'http://textures.minecraft.net/texture/a1b811ea2c2691d2e8c5e125b8d2e8d579b70592d0067ab27325445c40e4867c'))
```**Output:**
```typescript
[
{ name: "R2D2_BB8_64" },
{ name: "king_jump", changedToAt: 2017-03-25T10:04:40.000Z },
{ name: "_Hunam", changedToAt: 2018-08-30T09:23:49.000Z }
]//_Hunam's skin changed too
```### Documentation
You can view the full documentation on [Deno doc](https://doc.deno.land/https/deno.land/x/minecraft/mod.ts).
### Contributing
Hi and welcome! If you want to contribute to this project you can do so by many different ways, add new features, fix bugs, or improve the [documentation](https://doc.deno.land/https/deno.land/x/minecraft/mod.ts).
Just remember to follow the [GitHub Community Guidelines](https://docs.github.com/articles/github-community-guidelines).### License
This project is licensed under the [MIT license](./LICENSE).