Jump to content

Kid Winchell

Members
  • Posts

    740
  • Joined

  • Last visited

Everything posted by Kid Winchell

  1. The only way you can figure out anything about the API at the moment is by digging through pages of forum discussion to see what does/doesn't exist. To make sure that people know what's going on, https://politicsandwar.com/api/should be an about page, with a description of every type of API page available. And maybe a blurb explaining what an API is/does because people who have no idea what they're doing are bound to click through to it at some point. Posting this in its own suggestion thread so you're forced to address it.
  2. Not really, because the payouts used to be less than an 8-year-old makes with a lemonade stand. So he could increase payouts by an order of magnitude from what they were originally and baseball still wouldn't be profitable. Now it's just less not profitable.
  3. Yeah, no Y2K game explosion, what gives?
  4. I've been meaning to complain about how data.alliancedata/nationdata/citydata was stupid. Also your bad formatting with random indentations (or lack thereof) all over the place.
  5. A list of all alliances would be nice, as would listing all members on the individual alliance page. Also an about page that lists all of the API pages (and probably a description of what the API is/does for people who wander there and don't know what they've found).
  6. Since the nations API page serves info for every nation in the game, it's a pretty large file. Since it's in the interest of everyone for things to be as small and fast as possible, redundant things should be removed. Particularly, the url tag provides no new information (it's just a static string plus nationid, which is already given), and removing it reduces filesize by 15%. Latitude and longitude serve no functional purpose other than determining your continent, which, again, is already given. And if people want it, they can grab it from an individual nation's API page, along with other flavour stats, like their leader's title. Removing latitude and longitude reduces filesize by 10%. There are minor things, like serving the nation's rank as an integer instead of a string reduces filesize by half a percent. Indenting with two spaces instead of four reduces filesize by 15%. Or, since properly-formatted, readable JSON doesn't seem to be that big of a concern, what with the random indentations all willy-nilly, you could just serve it as compact JSON, reducing filesize by 38%. tl;dr Compared to the current filesize, removing redundant info reduces filesize by 25%, trimming spaces reduces filesize by 15%, and serving compact JSON reduces filesize by 38%. Removing redundant info and trimming spaces reduces filesize by 39%, while removing redundant info and serving compace JSON reduces filesize by an impressive 57%.
  7. A giant fist smushing someone's pimply face, complete with broken glasses. And/or a giant butt.
  8. If you look into Google Apps Script, you can automatically grab the webpage and parse it into a spreadsheet.
  9. Mr. Lairotut is a stupid-ass name.
  10. Or, y'know, sheepy could just properly format the JSON. Apostrophes don't need to be escaped, only quotes.
  11. 1337 h4xx0r hipsters Also if you're going to add something because paypal sucks, you should add Amazon Payments, not some alternative currency mumbo jumbo.
  12. "This nation existed when P&W turned 1," but the cake has three candles. What kind of terrible person puts the wrong number of candles on a birthday cake?
  13. I''d consider it more of a cheap knock-off brand.
  14. Flags ain't apposed ta have textures, ya twats.
  15. No. Everyone knows that would never happen. The Khevinist national hockey team sucks.
  16. I'm not posting in here with my shit graphics. I'm posting in here telling you to go elsewhere for them.
  17. There's no line in my graphics shop. And it's cheaper. But that's also because it's more along the lines of "graphics".
  18. I am a master of many things. My varied skills include such feats as having memorized the entire alphabet, in order!
  19. Because not everyone wants to make fun of other players for no particular reason.
  20. We guarantee that all of our graphics will be quality, but we do not guarantee what the word preceding "quality" will be. But hey, it's cheaper than that other guy with the anger issues. Tested Monocles
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and the Guidelines of the game and community.