A Python wrapper for the NationStates API
Project description
NaStyAPI - A NationState wrapper
A Python wrapper for the NationStates api.
Note: The wrapper doesn't have rate regulation yet but it is planned.
Table of Contensts:
Installation:
The package is available on PyPi! simply write:
pip install NaSty
Documentation
Planned...
Use:
The NationState API is divided into parts, and so is the wrapper.
Nation
To use the Nations api you must first import the module that deals with it, as such:
from NaStyAPI import Nation
This api lets you get statistics for specific countries, and to make commands to your own country. See the docs for more information.
Region
To use the Regions api you must first import the module that deals with it, as such:
from NaStyAPI import Region
This api lets you get statistics for specific regions.
Telegrams
To use the Telegrams api you must first import the module that deals with it, as such:
from NaStyAPI import Telegrams
This api lets you get statistics for specific regions.
Trading Cards
To use the Trading Cards api you must first import the module that deals with it, as such:
from NaStyAPI import TradingCards
This api lets you get information about Trading cards.
World
To use the Trading Cards api you must first import the module that deals with it, as such:
from NaStyAPI import World
This api lets you get information about the World.
How to contribute
Thank you for looking at this! There isn't all that much to do yet, so the best you can do to help is to use it!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.