Metadata-Version: 2.4
Name: liblocator
Version: 0.0.1
Summary: Get the locator bar colour of any minecraft player
Author-email: lostssss <imaginegameservice@gmail.com>
Project-URL: Homepage, https://github.com/LostShadowGD/liblocator
Keywords: minecraft,color
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.0.0
Dynamic: license-file

# liblocator

A small Python library to fetch the locator bar colour of any Minecraft player!

## Usage

In the terminal, run:
```
liblocator-cli <username>
```

to get the colour of a player. You can use liblocator as a library, like this:

```
import liblocator
colour = liblocator.getDotColour("lostssss")
```
which returns a list like this:
```
['#8aadc1', [138, 173, 193]]
```
(which is hex code + RGB).

### Multiple Usernames

Separate multiple usernames with commas, like this:

```
liblocator-cli Grian,PearlescentMoon
```

### Hex-Only Output

The --hex flag makes liblocator simply print the hex code of the player's locator bar dot, and nothing else, like this:

```
liblocator-cli Smallishbeans --hex
```
this can be useful to embed liblocator in projects made in other languages.
