{"action":"created","comment":{"url":"https://api.github.com/repos/inveniosoftware/invenio-stats/pulls/comments/168814710","pull_request_review_id":97249287,"id":168814710,"diff_hunk":"@@ -0,0 +1,361 @@\n+..\n+    This file is part of Invenio.\n+    Copyright (C) 2017 CERN.\n+\n+    Invenio is free software; you can redistribute it\n+    and/or modify it under the terms of the GNU General Public License as\n+    published by the Free Software Foundation; either version 2 of the\n+    License, or (at your option) any later version.\n+\n+    Invenio is distributed in the hope that it will be\n+    useful, but WITHOUT ANY WARRANTY; without even the implied warranty of\n+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+    General Public License for more details.\n+\n+    You should have received a copy of the GNU General Public License\n+    along with Invenio; if not, write to the\n+    Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,\n+    MA 02111-1307, USA.\n+\n+    In applying this license, CERN does not\n+    waive the privileges and immunities granted to it by virtue of its status\n+    as an Intergovernmental Organization or submit itself to any jurisdiction.\n+\n+\n+Overview\n+--------\n+Invenio-Stats provides enables an Invenio instance to generate statistics and\n+access them via a REST API.\n+\n+\n+1. Event processing\n+~~~~~~~~~~~~~~~~~~~\n+Statistics can measure the occurence of event within the application (\n+e.g. file downloads, record views) by plugging multiple components like this:\n+\n+\n+.. graphviz::\n+\n+    digraph G {\n+    rankdir=LR;\n+\n+    Module [\n+        label=\"Other Module\",\n+        width=1.5,\n+        height=3,\n+        fixedsize=true, // don't allow nodes to change sizes dynamically\n+        shape=rectangle\n+        color=grey,\n+        style=filled,\n+    ];\n+    Module -> Emitter [label=\"(1) signals\"];\n+\n+    subgraph cluster_invenio_stats {\n+        rank=same;\n+        fontsize = 20;\n+        label = \"Invenio Stats\";\n+        style = \"solid\";\n+        Emitter [label=\"Event\\nEmitter\", shape=\"parallelogram\"];\n+\n+        subgraph cluster_celery {\n+            label=\"Celery Tasks\"\n+            style=\"dashed\"\n+            fontsize = 15;\n+            Processor [label=<Events<BR/>Indexer<BR/><FONT POINT-SIZE=\"10\">Event Processor</FONT>>, shape=Mcircle]\n+            Aggregator [label=\"Event\\nAggregator\", shape=Mcircle]\n+        }\n+    }\n+    Queue [label=\"Message Queue\\n(RabbitMQ)\", margin=0.2, shape=\"cds\"];\n+    Elasticsearch [label=\"Elasticsearch\", shape=\"cylinder\", height=2];\n+    \n+    Emitter -> Queue [label=\"(2) events\"];\n+    \n+    Queue -> Processor [label=\"(3) event\"];\n+    \n+    Processor -> Elasticsearch [label=\"(4) processed events\"];\n+\n+    Aggregator -> Elasticsearch [label=\"(5) processed events\" dir=back];\n+    Aggregator -> Elasticsearch [label=\"(6) aggregated statistics\"];\n+    }\n+\n+\n+\n+1.1. Registering the Event type\n+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n+\n+If you create one or more event types you need to register them in your module.\n+\n+First create a function which will list all the events provided by your Invenio\n+module as well as their default configuration.\n+\n+.. code-block:: python\n+\n+ def register_events():\n+    return [dict(event_type='file-download',\n+                 templates='contrib/file-download',\n+                 processor_class=EventsIndexer,\n+                 processor_config=dict(\n+                    preprocessors=[\n+                        flag_robots,\n+                        anonymize_user,\n+                        build_file_unique_id\n+                    ]\n+                 )),\n+            ...\n+\n+The templates attribute defines the Elasticsearch templates that will be used\n+for indexing, and the processor related attributes will be explained later.\n+\n+Once you created the function you need to declare it in the setup.py under\n+the entrypoint `invenio_stats.events`.\n+\n+.. code-block:: python\n+ \n+ 'invenio_stats.events': [\n+     'invenio_stats = '\n+     'invenio_stats.contrib.registrations:register_events'\n+ ]\n+\n+The function enables to dynamically add new event using for example\n+information from the database.\n+\n+Only enabled events will be processed. Events are enabled in the configuration\n+like this:\n+\n+.. code-block:: python\n+\n+    # in config.py\n+    STATS_EVENTS = {\n+        'file-download': {\n+            'event_builders': [\n+                'invenio_stats.contrib.event_builders.file_download_event_builder'\n+            ]\n+        },\n+    }\n+\n+An Invenio overlay should list all the events it wants to process.\n+\n+It is also possible to override the default configuration of an event\n+using `processor_config` the `STATS_EVENTS` config variable:\n+\n+.. code-block:: python\n+\n+    STATS_EVENTS = {\n+        'file-download': dict(\n+            signal='invenio_files_rest.signals.file_downloaded',\n+            event_builders=[\n+                'invenio_stats.contrib.event_builders.file_download_event_builder'\n+            ],\n+            processor_config=dict(\n+                preprocessors=[\n+                    'invenio_stats.processors:flag_robots',\n+                    'invenio_stats.processors:anonymize_user',\n+                    'invenio_stats.contrib.event_builders:build_file_unique_id',\n+                ],\n+                # Keep only 1 file download for each file and user every 30 sec\n+                double_click_window=30,\n+                # Create one index per month which will store file download events\n+                suffix='%Y-%m'\n+            ))\n+    }\n+\n+1.2. Emitting Signals (optional)\n+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n+\n+The above diagram shows a **signal** being monitored. This signal occurences\n+are registered as **Events**. Invenio modules already send many different\n+signals. If no signal exist it is possible to emit your own signals.\n+\n+.. code-block:: python\n+ \n+    # in signals.py \n+    from blinker import Namespace\n+\n+    _signals = Namespace()\n+    file_downloaded = _signals.signal('file-downloaded')\n+    \n+    # at the point where the event happens\n+    file_downloaded.send(current_app._get_current_object(), obj=obj)\n+\n+Note that this is optional. It is also possible to directly emit your own\n+events without using signals.\n+\n+It is possible to completely disable the signal handling by setting\n+`STATS_REGISTER_RECEIVERS = False` in the configuration.\n+\n+1.3. Emitting Events\n+^^^^^^^^^^^^^^^^^^^\n+\n+Events can be generated either from signals or directly in any module.\n+\n+In order to automatically generate events when a signal is sent add `signal`\n+to the `STATS_EVENTS` configuration. The following configuration shows how to\n+generate a `file-download` event when the `file_downloaded` signal is emitted:\n+\n+.. code-block:: python\n+\n+    # in config.py\n+    STATS_EVENTS = {\n+        'file-download': {\n+            'signal': 'invenio_files_rest.signals.file_downloaded',\n+            'event_builders': [\n+                'invenio_stats.contrib.event_builders.file_download_event_builder'\n+            ]\n+        },\n+    }\n+\n+If you prefer to generate your event directly, here is an example:\n+\n+.. code-block:: python\n+\n+    from .proxies import current_stats\n+\n+    event = dict(\n+        timestamp=datetime.datetime.utcnow().isoformat(),\n+        mydata='somedata'\n+    )\n+\n+    current_stats.publish('my-event-name', [event])\n+\n+\n+1.4. Event Processing\n+^^^^^^^^^^^^^^^^^^^\n+Now that an event is recorded, the next step is adding it to our Elasticsearch\n+storage so that the new statistics can be calculated. A default event indexer\n+for this task is provided in processors.py. An indexer is assigned to each\n+event as seen in section 1, and also a list preprocessors is given. These are","path":"docs/overview.rst","position":226,"original_position":226,"commit_id":"4acf4c89fea10583b966d965e2ed455d06780907","original_commit_id":"4acf4c89fea10583b966d965e2ed455d06780907","user":{"login":"dinosk","id":1566093,"avatar_url":"https://avatars2.githubusercontent.com/u/1566093?v=4","gravatar_id":"","url":"https://api.github.com/users/dinosk","html_url":"https://github.com/dinosk","followers_url":"https://api.github.com/users/dinosk/followers","following_url":"https://api.github.com/users/dinosk/following{/other_user}","gists_url":"https://api.github.com/users/dinosk/gists{/gist_id}","starred_url":"https://api.github.com/users/dinosk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinosk/subscriptions","organizations_url":"https://api.github.com/users/dinosk/orgs","repos_url":"https://api.github.com/users/dinosk/repos","events_url":"https://api.github.com/users/dinosk/events{/privacy}","received_events_url":"https://api.github.com/users/dinosk/received_events","type":"User","site_admin":false},"body":"list of preprocessors","created_at":"2018-02-16T17:06:45Z","updated_at":"2018-02-16T17:06:46Z","html_url":"https://github.com/inveniosoftware/invenio-stats/pull/42#discussion_r168814710","pull_request_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/pulls/42","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/inveniosoftware/invenio-stats/pulls/comments/168814710"},"html":{"href":"https://github.com/inveniosoftware/invenio-stats/pull/42#discussion_r168814710"},"pull_request":{"href":"https://api.github.com/repos/inveniosoftware/invenio-stats/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/inveniosoftware/invenio-stats/pulls/42","id":142146968,"html_url":"https://github.com/inveniosoftware/invenio-stats/pull/42","diff_url":"https://github.com/inveniosoftware/invenio-stats/pull/42.diff","patch_url":"https://github.com/inveniosoftware/invenio-stats/pull/42.patch","issue_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/issues/42","number":42,"state":"open","locked":false,"title":"docs: addition of Documentation.rst","user":{"login":"dinosk","id":1566093,"avatar_url":"https://avatars2.githubusercontent.com/u/1566093?v=4","gravatar_id":"","url":"https://api.github.com/users/dinosk","html_url":"https://github.com/dinosk","followers_url":"https://api.github.com/users/dinosk/followers","following_url":"https://api.github.com/users/dinosk/following{/other_user}","gists_url":"https://api.github.com/users/dinosk/gists{/gist_id}","starred_url":"https://api.github.com/users/dinosk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinosk/subscriptions","organizations_url":"https://api.github.com/users/dinosk/orgs","repos_url":"https://api.github.com/users/dinosk/repos","events_url":"https://api.github.com/users/dinosk/events{/privacy}","received_events_url":"https://api.github.com/users/dinosk/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Dinos Kousidis <konstantinos.kousidis@cern.ch>","created_at":"2017-09-20T16:35:07Z","updated_at":"2018-02-16T17:06:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a88cb2370b346a158aa73517dd51a71b681c1240","assignee":{"login":"dinosk","id":1566093,"avatar_url":"https://avatars2.githubusercontent.com/u/1566093?v=4","gravatar_id":"","url":"https://api.github.com/users/dinosk","html_url":"https://github.com/dinosk","followers_url":"https://api.github.com/users/dinosk/followers","following_url":"https://api.github.com/users/dinosk/following{/other_user}","gists_url":"https://api.github.com/users/dinosk/gists{/gist_id}","starred_url":"https://api.github.com/users/dinosk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinosk/subscriptions","organizations_url":"https://api.github.com/users/dinosk/orgs","repos_url":"https://api.github.com/users/dinosk/repos","events_url":"https://api.github.com/users/dinosk/events{/privacy}","received_events_url":"https://api.github.com/users/dinosk/received_events","type":"User","site_admin":false},"assignees":[{"login":"dinosk","id":1566093,"avatar_url":"https://avatars2.githubusercontent.com/u/1566093?v=4","gravatar_id":"","url":"https://api.github.com/users/dinosk","html_url":"https://github.com/dinosk","followers_url":"https://api.github.com/users/dinosk/followers","following_url":"https://api.github.com/users/dinosk/following{/other_user}","gists_url":"https://api.github.com/users/dinosk/gists{/gist_id}","starred_url":"https://api.github.com/users/dinosk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinosk/subscriptions","organizations_url":"https://api.github.com/users/dinosk/orgs","repos_url":"https://api.github.com/users/dinosk/repos","events_url":"https://api.github.com/users/dinosk/events{/privacy}","received_events_url":"https://api.github.com/users/dinosk/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"nharraud","id":5708796,"avatar_url":"https://avatars3.githubusercontent.com/u/5708796?v=4","gravatar_id":"","url":"https://api.github.com/users/nharraud","html_url":"https://github.com/nharraud","followers_url":"https://api.github.com/users/nharraud/followers","following_url":"https://api.github.com/users/nharraud/following{/other_user}","gists_url":"https://api.github.com/users/nharraud/gists{/gist_id}","starred_url":"https://api.github.com/users/nharraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nharraud/subscriptions","organizations_url":"https://api.github.com/users/nharraud/orgs","repos_url":"https://api.github.com/users/nharraud/repos","events_url":"https://api.github.com/users/nharraud/events{/privacy}","received_events_url":"https://api.github.com/users/nharraud/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/pulls/42/commits","review_comments_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/pulls/42/comments","review_comment_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/issues/42/comments","statuses_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/statuses/4acf4c89fea10583b966d965e2ed455d06780907","head":{"label":"dinosk:docs","ref":"docs","sha":"4acf4c89fea10583b966d965e2ed455d06780907","user":{"login":"dinosk","id":1566093,"avatar_url":"https://avatars2.githubusercontent.com/u/1566093?v=4","gravatar_id":"","url":"https://api.github.com/users/dinosk","html_url":"https://github.com/dinosk","followers_url":"https://api.github.com/users/dinosk/followers","following_url":"https://api.github.com/users/dinosk/following{/other_user}","gists_url":"https://api.github.com/users/dinosk/gists{/gist_id}","starred_url":"https://api.github.com/users/dinosk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinosk/subscriptions","organizations_url":"https://api.github.com/users/dinosk/orgs","repos_url":"https://api.github.com/users/dinosk/repos","events_url":"https://api.github.com/users/dinosk/events{/privacy}","received_events_url":"https://api.github.com/users/dinosk/received_events","type":"User","site_admin":false},"repo":{"id":92843988,"name":"invenio-stats","full_name":"dinosk/invenio-stats","owner":{"login":"dinosk","id":1566093,"avatar_url":"https://avatars2.githubusercontent.com/u/1566093?v=4","gravatar_id":"","url":"https://api.github.com/users/dinosk","html_url":"https://github.com/dinosk","followers_url":"https://api.github.com/users/dinosk/followers","following_url":"https://api.github.com/users/dinosk/following{/other_user}","gists_url":"https://api.github.com/users/dinosk/gists{/gist_id}","starred_url":"https://api.github.com/users/dinosk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dinosk/subscriptions","organizations_url":"https://api.github.com/users/dinosk/orgs","repos_url":"https://api.github.com/users/dinosk/repos","events_url":"https://api.github.com/users/dinosk/events{/privacy}","received_events_url":"https://api.github.com/users/dinosk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dinosk/invenio-stats","description":"PROTOTYPE!!! Do not use this module yet.","fork":true,"url":"https://api.github.com/repos/dinosk/invenio-stats","forks_url":"https://api.github.com/repos/dinosk/invenio-stats/forks","keys_url":"https://api.github.com/repos/dinosk/invenio-stats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dinosk/invenio-stats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dinosk/invenio-stats/teams","hooks_url":"https://api.github.com/repos/dinosk/invenio-stats/hooks","issue_events_url":"https://api.github.com/repos/dinosk/invenio-stats/issues/events{/number}","events_url":"https://api.github.com/repos/dinosk/invenio-stats/events","assignees_url":"https://api.github.com/repos/dinosk/invenio-stats/assignees{/user}","branches_url":"https://api.github.com/repos/dinosk/invenio-stats/branches{/branch}","tags_url":"https://api.github.com/repos/dinosk/invenio-stats/tags","blobs_url":"https://api.github.com/repos/dinosk/invenio-stats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dinosk/invenio-stats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dinosk/invenio-stats/git/refs{/sha}","trees_url":"https://api.github.com/repos/dinosk/invenio-stats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dinosk/invenio-stats/statuses/{sha}","languages_url":"https://api.github.com/repos/dinosk/invenio-stats/languages","stargazers_url":"https://api.github.com/repos/dinosk/invenio-stats/stargazers","contributors_url":"https://api.github.com/repos/dinosk/invenio-stats/contributors","subscribers_url":"https://api.github.com/repos/dinosk/invenio-stats/subscribers","subscription_url":"https://api.github.com/repos/dinosk/invenio-stats/subscription","commits_url":"https://api.github.com/repos/dinosk/invenio-stats/commits{/sha}","git_commits_url":"https://api.github.com/repos/dinosk/invenio-stats/git/commits{/sha}","comments_url":"https://api.github.com/repos/dinosk/invenio-stats/comments{/number}","issue_comment_url":"https://api.github.com/repos/dinosk/invenio-stats/issues/comments{/number}","contents_url":"https://api.github.com/repos/dinosk/invenio-stats/contents/{+path}","compare_url":"https://api.github.com/repos/dinosk/invenio-stats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dinosk/invenio-stats/merges","archive_url":"https://api.github.com/repos/dinosk/invenio-stats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dinosk/invenio-stats/downloads","issues_url":"https://api.github.com/repos/dinosk/invenio-stats/issues{/number}","pulls_url":"https://api.github.com/repos/dinosk/invenio-stats/pulls{/number}","milestones_url":"https://api.github.com/repos/dinosk/invenio-stats/milestones{/number}","notifications_url":"https://api.github.com/repos/dinosk/invenio-stats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dinosk/invenio-stats/labels{/name}","releases_url":"https://api.github.com/repos/dinosk/invenio-stats/releases{/id}","deployments_url":"https://api.github.com/repos/dinosk/invenio-stats/deployments","created_at":"2017-05-30T14:52:31Z","updated_at":"2017-05-30T14:52:33Z","pushed_at":"2018-02-16T16:52:24Z","git_url":"git://github.com/dinosk/invenio-stats.git","ssh_url":"git@github.com:dinosk/invenio-stats.git","clone_url":"https://github.com/dinosk/invenio-stats.git","svn_url":"https://github.com/dinosk/invenio-stats","homepage":"https://invenio-stats.readthedocs.io","size":188,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"inveniosoftware:master","ref":"master","sha":"74b2730634ac0b1f4f2d8a11fcbcba2b3f582bd2","user":{"login":"inveniosoftware","id":1157480,"avatar_url":"https://avatars1.githubusercontent.com/u/1157480?v=4","gravatar_id":"","url":"https://api.github.com/users/inveniosoftware","html_url":"https://github.com/inveniosoftware","followers_url":"https://api.github.com/users/inveniosoftware/followers","following_url":"https://api.github.com/users/inveniosoftware/following{/other_user}","gists_url":"https://api.github.com/users/inveniosoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/inveniosoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inveniosoftware/subscriptions","organizations_url":"https://api.github.com/users/inveniosoftware/orgs","repos_url":"https://api.github.com/users/inveniosoftware/repos","events_url":"https://api.github.com/users/inveniosoftware/events{/privacy}","received_events_url":"https://api.github.com/users/inveniosoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":60047496,"name":"invenio-stats","full_name":"inveniosoftware/invenio-stats","owner":{"login":"inveniosoftware","id":1157480,"avatar_url":"https://avatars1.githubusercontent.com/u/1157480?v=4","gravatar_id":"","url":"https://api.github.com/users/inveniosoftware","html_url":"https://github.com/inveniosoftware","followers_url":"https://api.github.com/users/inveniosoftware/followers","following_url":"https://api.github.com/users/inveniosoftware/following{/other_user}","gists_url":"https://api.github.com/users/inveniosoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/inveniosoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inveniosoftware/subscriptions","organizations_url":"https://api.github.com/users/inveniosoftware/orgs","repos_url":"https://api.github.com/users/inveniosoftware/repos","events_url":"https://api.github.com/users/inveniosoftware/events{/privacy}","received_events_url":"https://api.github.com/users/inveniosoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inveniosoftware/invenio-stats","description":"PROTOTYPE!!! Do not use this module yet.","fork":false,"url":"https://api.github.com/repos/inveniosoftware/invenio-stats","forks_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/forks","keys_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/teams","hooks_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/hooks","issue_events_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/issues/events{/number}","events_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/events","assignees_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/assignees{/user}","branches_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/branches{/branch}","tags_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/tags","blobs_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/git/refs{/sha}","trees_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/statuses/{sha}","languages_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/languages","stargazers_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/stargazers","contributors_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/contributors","subscribers_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/subscribers","subscription_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/subscription","commits_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/commits{/sha}","git_commits_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/git/commits{/sha}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/comments{/number}","issue_comment_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/issues/comments{/number}","contents_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/contents/{+path}","compare_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/merges","archive_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/downloads","issues_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/issues{/number}","pulls_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/pulls{/number}","milestones_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/milestones{/number}","notifications_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/labels{/name}","releases_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/releases{/id}","deployments_url":"https://api.github.com/repos/inveniosoftware/invenio-stats/deployments","created_at":"2016-05-31T00:53:44Z","updated_at":"2017-10-25T01:00:21Z","pushed_at":"2018-02-16T16:52:25Z","git_url":"git://github.com/inveniosoftware/invenio-stats.git","ssh_url":"git@github.com:inveniosoftware/invenio-stats.git","clone_url":"https://github.com/inveniosoftware/invenio-stats.git","svn_url":"https://github.com/inveniosoftware/invenio-stats","homepage":"https://invenio-stats.readthedocs.io","size":160,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":3,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inveniosoftware/invenio-stats/pulls/42"},"html":{"href":"https://github.com/inveniosoftware/invenio-stats/pull/42"},"issue":{"href":"https://api.github.com/repos/inveniosoftware/invenio-stats/issues/42"},"comments":{"href":"https://api.github.com/repos/inveniosoftware/invenio-stats/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/inveniosoftware/invenio-stats/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/inveniosoftware/invenio-stats/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inveniosoftware/invenio-stats/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/inveniosoftware/invenio-stats/statuses/4acf4c89fea10583b966d965e2ed455d06780907"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dinosk"}}