Dinnerbone / mcstatus

A Python class for checking the status of an enabled Minecraft server
http://dinnerbone.com/minecraft/tools/status/
1.11k stars 146 forks source link

Using the library asynchronously #171

Closed watchingdogs closed 2 years ago

watchingdogs commented 2 years ago

How would I be able to send async requests using this library? Also a raw output format would be great for non-CLI use also.

Iapetus-11 commented 2 years ago

There are async methods for nearly every sync method. They are usually prefixed with async_, I don't remember all of them but you can easily figure them out if you look into the source of this library. Also there is a raw attribute to some of the status objects, that may be what you want.

kevinkjt2000 commented 2 years ago

I added another item to the checklist in #136