Battlemetrics scrapper
Project description
this package allow you to scrap the advertised server on battlemetrics.
it return the number of server up, down and dead in each country and the number of player connected to thoses servers
to use it :
from battlemetrics_scrapper import battlemetrics_scrapper
from iso3166 import countries
for country in countries: # iterarate over all the country ISO code
print(battlemetrics_scrapper.battlemetrics.get_latest_gameserverstat_country(country))
alternatively you can use it from the commandline by calling battlemetrics_scrapper
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file battlemetrics_scrapper-1.0.6.tar.gz
.
File metadata
- Download URL: battlemetrics_scrapper-1.0.6.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 631b9a42767b1cb8378fa10bdb2c6649870edf87ed79a8ddccd67a2e6cf18343 |
|
MD5 | 70f4f597462dc6ab05399895f00247a3 |
|
BLAKE2b-256 | f50e4183957f273e616773f92f16c45bb09109248a1c80720972feda513f6b3c |