dice89 / wikipediawars

Tool to see how neutral wikipedia articles are!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wikipediawars

Tool to see how neutral wikipedia articles are!

Dependencies

  • Redis
  • Play Framework
  • MySql

Installation Redis with Homebrew on Mac

brew update
brew install redis
redis-server

API Documentation

The following Endpoints are available as a JSON API:

Analyse Revision

  • URL: /revisions/analyse/:article
  • Method: GET
  • Response-Type: application/json
  • Parameters:
    • article: The name of the article as in wikipedia
    • timescope: Valid input formats: 1m,3m,6m : The timeframe within the articles will be analyzed starting from today
    • aggregation: Valid input values: d,w,m: Defines the aggregation mode of the analysis. The results are either aggregated by day, by week or by month
  • Example Call: http://www.wiki-wars.org/revisions/analyse/Berlin?timescope=6m&aggregation=w
  • Example Response: Coming Soon!

Suggest Wikipedia Articles

Wrapper Service for wikpedia suggest services.

Top active Users, Region and Articles on Wikipedia

Top changed articles and how active users and regions are in the world in the last day

{
"id": 7,
"topUser": [],
"topArticles": [],
"topNations": [],
"timestamp": 1424523911000
}
Top active Users on Wikipedia

Top active users of the last day

[
{
"id": 11,
"name": "DavidMar86hdf",
"editCounts": 20
},
//...
{}
]
Top edited articles on Wikipedia

Top edited articles of the last day

[
{
"id": 31,
"editCounts": 7,
"label": "List of modernized retellings of old stories"
},
//...
{}
]
Top active countries on Wikipedia

The countries that edited the most in the last couple of days

[
{
"id": 11,
"isoCode": "US",
"editCounts": 20
},
//...
{
"id": 20,
"isoCode": "ES",
"editCounts": 4
}
]

About

Tool to see how neutral wikipedia articles are!

License:Apache License 2.0


Languages

Language:JavaScript 70.9%Language:Java 11.0%Language:CSS 9.2%Language:HTML 8.2%Language:ApacheConf 0.4%Language:Scala 0.3%