by The United Island Tribes » Thu Oct 08, 2015 1:40 pm
by The United Island Tribes » Tue Jan 05, 2016 1:38 pm
pip install nationstates --upgrade
by The United Island Tribes » Thu May 31, 2018 6:37 pm
import nationstates
api = nationstates.Nationstates("My Awesome Script")
# Get the flag of the Nation's region
flag = api.Nation("The United Island Tribes").region.flag
# Shard request
shard_request = api.Nation.request(shards=["animal", "animaltrait"])
by Frazikstan » Tue Aug 14, 2018 10:34 am
by The United Island Tribes » Sun Oct 21, 2018 2:48 pm
by The United Island Tribes » Wed Jan 23, 2019 1:44 pm
by The Pharcyde » Wed Jun 05, 2019 2:12 pm
import nationstates
from nationstates import Shard
from pprint import pprint
api = nationstates.Nationstates("Example for Nationstates API for python")
resp = api.world().get_shards(Shard("happenings", view="region.lazarus", filter='member', limit="5"))
pprint(resp.happenings)
by The United Island Tribes » Thu Sep 12, 2019 7:47 am
The Pharcyde wrote:First of all, thank you for your effort in creating this. It must've taken a ton of time.
I have a novice question. Is this considered single request or five requests?import nationstates
from nationstates import Shard
from pprint import pprint
api = nationstates.Nationstates("Example for Nationstates API for python")
resp = api.world().get_shards(Shard("happenings", view="region.lazarus", filter='member', limit="5"))
pprint(resp.happenings)
by Nordlandenn » Fri Mar 06, 2020 9:07 am
by Merni » Mon Mar 09, 2020 10:06 am
Nordlandenn wrote:So I was looking into this package, and I am not sure what I am doing wrong but the package won't install for me, citing that I need VS C++ version 14.0,.. when I got that, it will not install because of
this error:
*********************************************************************************
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
*********************************************************************************
Is there any workaround? I am running Windows 10 x64 btw.
by The United Island Tribes » Fri Dec 04, 2020 10:16 pm
by The United Island Tribes » Fri Dec 11, 2020 10:37 pm
by The United Island Tribes » Sat Dec 26, 2020 9:46 am
by Reiserland » Thu Apr 04, 2024 8:45 pm
by Daphomir » Thu Apr 04, 2024 8:48 pm
NS Stats are protected by the people of Daphomir and are defended from the nations that seek to commit atrocities against them so horrible, it makes the Germans look like Good Samaritans
by Kractero » Fri Apr 05, 2024 1:27 pm
Reiserland wrote:Seems like this project isn't being maintained anymore? The latest commit is 2 years ago.
by Reiserland » Thu Apr 18, 2024 6:59 pm
Advertisement
Users browsing this forum: Ankuran, Buffalo-Bills, Countriopia, Deagarnia, Forwerpen, Graalstone, Grand Franistan, James_xenoland, Lushiania, Madrocea, New Yi Empire, Ravenol, Reventus Koth, Skiva, Yuspuize
Advertisement