Skip to main content

A python library that collects information from nationsglory.fr, just for you.

Project description

NationsGlory.py MIT License

A python library that retrieves information from nationsglory.fr, just for you!

Authors

Features

  • GET player informations
  • GET country informations

Installation

Install nations-glory with pip

pip install nations-glory

Usage/Examples

from nations_glory import Servers
from nations_glory.players import Player

player = Player('Just_Steel', Servers.PINK)

print("Player:", player.name) # Player: Just_Steel
print("Country:", player.country) # Country: EmpireBulgare
print("Power:", player.power) # Power: 61
print("Time Played:", player.time_played) # Time Played: 2 mois 28 j 12 h 51 m 54 s 

Dependencies

python3.9.0 requests==2.22.0 html-to-json==1.0.1

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

nations_glory-0.2.0-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page