Computational Mafia
- yessiree
-
yessiree heMafia Scum
- yessiree
he- Mafia Scum
- Mafia Scum
- Posts: 4386
- Joined: June 6, 2013
- Pronoun: he
the main issue with trying to automate anything on mafiascum is the lack of an API. (it's in development?) It's FeelsBadMan to work with <document> response types, which means an addition layer of reading/parsing XML/HTML content which makes the whole process more time-consuming and error prone
It would be much much better if you could do something like query "[b]API[/b]/viewtopic.php?f=5&t=78755" and get back JSON instead- yessiree
-
yessiree heMafia Scum
- yessiree
he- Mafia Scum
- Mafia Scum
- Posts: 4386
- Joined: June 6, 2013
- Pronoun: he
imo, the API would ideallyIn post 10, Psyche wrote:Could you be exact about what you’d like for the API to do?
- require an API key that people need to register and get approval for
- be rate limited
- RESTful
- returns JSON
eg. if you wanted to grab the posts in a thread, now you need to query the url of this page, get back a fully rendered web document, then parse that document to get the content you want
with the API, you would query the API url instead, and get back a JSON of all the posts in a thread without the things you don't need- yessiree
-
yessiree heMafia Scum
- yessiree
he- Mafia Scum
- Mafia Scum
- Posts: 4386
- Joined: June 6, 2013
- Pronoun: he
Hi friends, I just found out that you can debug NodeJs apps from chrome dev tools now
https://medium.com/@paul_irish/debuggin ... 4a1b95ae27
makes life a lot easier, so i'll play around with it for a bit- yessiree
-
yessiree heMafia Scum
- yessiree
he- Mafia Scum
- Mafia Scum
- Posts: 4386
- Joined: June 6, 2013
- Pronoun: he
https://github.com/blookvoodow/modbotjs
A simple pagetopper adapted from donbot, re-written in JavaScript with NodeJs (working prototype)- yessiree
-
yessiree heMafia Scum
- yessiree
he- Mafia Scum
- Mafia Scum
- Posts: 4386
- Joined: June 6, 2013
- Pronoun: he
- yessiree
-
yessiree heMafia Scum
- yessiree
he- Mafia Scum
- Mafia Scum
- Posts: 4386
- Joined: June 6, 2013
- Pronoun: he
it wouldn't be difficult at all to put together something like that, scrape the posts from player X of their last Y gamesIn post 78, popsofctown wrote:Wouldn't it be cool if there was a thingy that would produce links to a player's last five completed games?
Seems possible if like a script perused post history and looked for user's name in vcs to rule out post game commentary, etc
even better tho it can be combined with Bob's deception classifier to analyze the tendency to which a player engages in deceptive speech as either alignment, and basically spits out a likelihood that X is scum when given Z number of new posts - yessiree
Copyright © MafiaScum. All rights reserved.
- yessiree
- yessiree
- yessiree
- yessiree
- yessiree