A python module to check for Riot Games server status for VALORANT without an API key
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file valoStatus-3.3.16.tar.gz.
File metadata
- Download URL: valoStatus-3.3.16.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0a51c390545504e7bcb29b538b9ca8cebebb096a7a8ce2b3b070f578f3ff4ce
|
|
| MD5 |
1783d9edd0fab0e1cee0ec7ac83f5f56
|
|
| BLAKE2b-256 |
1e4d0bbdc9e91efaf8cc7115925986bb81e5b2325855ff9a28ec5f5933d1b694
|
File details
Details for the file valoStatus-3.3.16-py3-none-any.whl.
File metadata
- Download URL: valoStatus-3.3.16-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f87065ca19410d7efb41d68eeca165267c7badfa96a05ed9bde73ad8fa4e4c22
|
|
| MD5 |
b2643e0c368aaeb504e4e377275dea3b
|
|
| BLAKE2b-256 |
4f111559a71499fa2c0f08e6e1f817ea1bed9339bcd3fe8f49f46560feb68486
|