1.0.3 • Published 2 years ago

@celercore/minecraft-profile v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

CelerCore Auth

Celer Core Minecraft Profile is a library with data from Minecraft API.

Installation

Use the package manager npm to install celercore/auth.

npm i @celercore/minecraft-profile

Usage

const { McProfile } = require('@celercore/minecraft-profile')

const profileMc = new McProfile()

profileMc.getUUID('Notch') // 069a79f444e94726a5befca90e38aaf5
// or
profileMc.getUUID(['Notch', 'Hasanoes']) // [{id:'98e6a03d8ab84b3a86c855b46bb2c5c3',name:'Hasanoes'},{id:'069a79f444e94726a5befca90e38aaf5',name: 'Notch'}]

profileMc.getNameHistory('98e6a03d8ab84b3a86c855b46bb2c5c3') // [{"name": "diamonddino"},{"name": "PolandBOX","changedToAt": 1519931168000}]

profileMc.getTextures('98e6a03d8ab84b3a86c855b46bb2c5c3')

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago