Skip to main content

A Python wrapper for the NationStates API

Project description

NaStyAPI - A NationState wrapper

PyPi status
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.

Source Distribution

NaStyAPI-0.1.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

NaStyAPI-0.1.1-py3-none-any.whl (6.2 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