valoStatus
valoStatus is a Python module to check for Riot Games server status for VALORANT VALORANT Server Status Page
This is not fully complete check TODO section
If you like this please star the repo. :)
If you would like to contribute to the project feel free to make a PR and fix bugs or make the code even better. :D
Python Version
- Python 3.6 and above should work
Installation
pip install valoStatus
Region List
NA - North America
EU - Europe
BR - Brazil
AP - Asia Pacific
KR - Korea
LATAM - Latin America
Example code (we will use NA region as an example)
Check if there is an issue with the server
"""
`self.get_status_issue()` would
return either:
True == There is an issue
False == There is no issue
"""
from valoStatus import Region
region = Region("NA")
if region.get_status_issue() == True:
# code
else:
# code
Check if the Issue is either an incident or a Maintenance
"""
`self.incident_check()` and `self.maintenance_check()` would return:
True == There is an issue.
False == There is no issue
"""
from valoStatus import Region
region = Region("NA")
if region.get_status_issue() == True:
if region.incident_check() == True:
# code
elif region.maintenance_check() == True:
# code
else:
# code
Incidents
from valoStatus import Region
region = Region("NA")
#to get the title of the incident:
print(region.incident_title())
#to get the date of the incident:
print(region.incident_date())
#to get the reason of the incident:
print(region.incident_reason())
Maintenances
from valoStatus import Region
region = Region("NA")
#to get the title of the maintenance:
print(region.maintenance_title())
#to get the date of the maintenance:
print(region.maintenance_date())
#to get the reason of the maintenance:
print(region.maintenance_reason())
TODO
- Add function for affected platforms
- Add function for time (currently shows date only)
- Colour status function? (may or may not add, basically each type of status has a different colour)
Links
Support
DM @D3crypt360 on Twitter
DM DΞCRYPT#9779 on Discord
Metadata
Release files for valoStatus 3.3.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| valoStatus-3.3.16.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| valoStatus-3.3.16-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / valoStatus-3.3.16.tar.gz
| Download URL | valoStatus-3.3.16.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0a51c390545504e7bcb29b538b9ca8cebebb096a7a8ce2b3b070f578f3ff4ce
|
|
BLAKE2b-256 checksum How to use checksums |
1e4d0bbdc9e91efaf8cc7115925986bb81e5b2325855ff9a28ec5f5933d1b694
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
|
Release files / valoStatus-3.3.16-py3-none-any.whl
| Download URL | valoStatus-3.3.16-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f87065ca19410d7efb41d68eeca165267c7badfa96a05ed9bde73ad8fa4e4c22
|
|
BLAKE2b-256 checksum How to use checksums |
4f111559a71499fa2c0f08e6e1f817ea1bed9339bcd3fe8f49f46560feb68486
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
|