Dolphman Posted November 19, 2014 Share Posted November 19, 2014 (edited) I decided to challenge myself and make my first module for python. It currently is named pypaw I plan to code my way through it from simple to hard. First starting with non-login crap. To prevent cheating I decided to not include creating nations. As somebody could create nation --> give money to other nation --> delete nation, rinse and repeat. It sure is going to be funny when I finish this and sheepy announces a API It will go up on github when I finish all things having to with getting data and a massive cleanup. Perhaps I will do POST requests following that. Since I am also a newbie, somebody will eventually make a much faster module than mine. That is assuming that I'm actually the first one to make something for this game. Edited November 19, 2014 by Dolphman Quote Leader of UPS Link to comment Share on other sites More sharing options...
Grillick Posted November 19, 2014 Share Posted November 19, 2014 Since there's a time limit on deleting nations based on the last time you completed a trade, I wouldn't be too worried about create->transfer money->delete 2 Quote "It's hard to be a team player when you're omnipotent." - Q Link to comment Share on other sites More sharing options...
Dolphman Posted November 19, 2014 Author Share Posted November 19, 2014 Since there's a time limit on deleting nations based on the last time you completed a trade, I wouldn't be too worried about create->transfer money->delete Thats nice to know. The only real issue is that since their is no documentation, I have to create multiple nations just to know what I need to code for. May be something I do last, and something I have to inform sheepy of. Quote Leader of UPS Link to comment Share on other sites More sharing options...
Ashland Posted November 19, 2014 Share Posted November 19, 2014 You sound like a mad scientist haha. Quote ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [10:47] you used to be the voice of irc Link to comment Share on other sites More sharing options...
Fox Fire Posted November 19, 2014 Share Posted November 19, 2014 I have no idea what this is but it should be called Pawthon. 1 Quote _________________________________________________________________ <Jroc> I heard \ is an anagram of cocaine<\> I can't be rearranged into a line, I already am a line. --Foxburo Wiki-- Link to comment Share on other sites More sharing options...
ataraxis Posted November 19, 2014 Share Posted November 19, 2014 This could be very useful for making trading bots. Quote #6 in P&W Beta Link to comment Share on other sites More sharing options...
Greatnate Posted November 20, 2014 Share Posted November 20, 2014 How are you getting around having to log in for just about every piece of information? Or are you giving the bot your login? Quote Link to comment Share on other sites More sharing options...
Administrators Alex Posted November 20, 2014 Administrators Share Posted November 20, 2014 This could be very useful for making trading bots. I will make you guys randomly enter captchas and stuff if you started creating trading bots It sure is going to be funny when I finish this and sheepy announces a API What information are you trying to scrape? I can make pages with raw data and info available if you let me know what you want. Quote Is there a bug? Report It | Not understanding game mechanics? Ask About It | Got a good idea? Suggest ItForums Rules | Game Link Link to comment Share on other sites More sharing options...
Greatnate Posted November 20, 2014 Share Posted November 20, 2014 What information are you trying to scrape? I can make pages with raw data and info available if you let me know what you want. Trade info!1! Quote Link to comment Share on other sites More sharing options...
Administrators Alex Posted November 20, 2014 Administrators Share Posted November 20, 2014 Trade info!1! What kind of trade info? Quote Is there a bug? Report It | Not understanding game mechanics? Ask About It | Got a good idea? Suggest ItForums Rules | Game Link Link to comment Share on other sites More sharing options...
Dolphman Posted November 20, 2014 Author Share Posted November 20, 2014 I will make you guys randomly enter captchas and stuff if you started creating trading bots What information are you trying to scrape? I can make pages with raw data and info available if you let me know what you want. All data. Anything that isn't static. On mobile so can't go into great detail Quote Leader of UPS Link to comment Share on other sites More sharing options...
Dolphman Posted November 20, 2014 Author Share Posted November 20, 2014 To go into detail, I need all data that you can view ingame All data in the tables is generally needed. Nation Description, Alliance Updates are needed. Alliance Banking info If I had any requests, I would want the world data first, some of that stuff doesnt require login, which is nice for testing. I should be able to handle POST requests myself. Quote Leader of UPS Link to comment Share on other sites More sharing options...
Greatnate Posted November 21, 2014 Share Posted November 21, 2014 What kind of trade info? Honestly the trade page if it wasn't behind a log-in screen would be wonderful for a little webscraper. A history of completed trades would be amazing, but probably a lot of data to try and go through. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.