{"size": 557, "ext": "js", "max_stars_repo_path": "app/query_api/query_api.js", "max_stars_repo_name": "wikimine/wikimine", "max_stars_repo_stars_event_min_datetime": "2015-06-26T07:18:09.000Z", "max_stars_repo_stars_event_max_datetime": "2015-06-26T07:18:09.000Z", "max_issues_repo_path": "app/query_api/query_api.js", "max_issues_repo_name": "CodaP/wikimine", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/query_api/query_api.js", "max_forks_repo_name": "CodaP/wikimine", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.9444444444, "max_line_length": 66, "alphanum_fraction": 0.4614003591}
/**
 * Created by codaphillips on 4/18/15.
 */
(function() {
    angular.module('wikiMiner.services.query_api', ['ngResource'])
        .factory('query_api', ['$resource', function($resource){
            return $resource('http://104.236.226.8/w/api.php', {
                action:'query',
                prop:'revisions',
                format:'json',
                rvprop:'user|ids|comment|timestamp',
                rvlimit:'100',
                titles:'@titles'
            },{
                get:{method:'GET'}
            });
        }]);
})();