{"action":"created","comment":{"url":"https://api.github.com/repos/WikiJourney/wikijourney_api/pulls/comments/65820500","id":65820500,"diff_hunk":"@@ -9,7 +9,7 @@\n \n require 'multiCurl.php';\n \n-error_reporting(0); // No need error reporting, or else it will crash the JSON export\n+error_reporting(E_ALL); // No need error reporting, or else it will crash the JSON export","path":"index.php","position":null,"original_position":5,"commit_id":"206e456304f77f8ebc4780e16ec336f5e96c02d8","original_commit_id":"ba3d6d102c0e3ca3a50fc6fb3bffc4b5580663ba","user":{"login":"tikiki","id":4216559,"avatar_url":"https://avatars.githubusercontent.com/u/4216559?v=3","gravatar_id":"","url":"https://api.github.com/users/tikiki","html_url":"https://github.com/tikiki","followers_url":"https://api.github.com/users/tikiki/followers","following_url":"https://api.github.com/users/tikiki/following{/other_user}","gists_url":"https://api.github.com/users/tikiki/gists{/gist_id}","starred_url":"https://api.github.com/users/tikiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tikiki/subscriptions","organizations_url":"https://api.github.com/users/tikiki/orgs","repos_url":"https://api.github.com/users/tikiki/repos","events_url":"https://api.github.com/users/tikiki/events{/privacy}","received_events_url":"https://api.github.com/users/tikiki/received_events","type":"User","site_admin":false},"body":"This should be configurable in a separate file, to allow debugging easily.","created_at":"2016-06-05T16:50:20Z","updated_at":"2016-06-05T16:50:20Z","html_url":"https://github.com/WikiJourney/wikijourney_api/pull/7#discussion_r65820500","pull_request_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/WikiJourney/wikijourney_api/pulls/comments/65820500"},"html":{"href":"https://github.com/WikiJourney/wikijourney_api/pull/7#discussion_r65820500"},"pull_request":{"href":"https://api.github.com/repos/WikiJourney/wikijourney_api/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/WikiJourney/wikijourney_api/pulls/7","id":72634051,"html_url":"https://github.com/WikiJourney/wikijourney_api/pull/7","diff_url":"https://github.com/WikiJourney/wikijourney_api/pull/7.diff","patch_url":"https://github.com/WikiJourney/wikijourney_api/pull/7.patch","issue_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/issues/7","number":7,"state":"open","locked":false,"title":"Complete refactoring of the API","user":{"login":"sylvainar","id":9823286,"avatar_url":"https://avatars.githubusercontent.com/u/9823286?v=3","gravatar_id":"","url":"https://api.github.com/users/sylvainar","html_url":"https://github.com/sylvainar","followers_url":"https://api.github.com/users/sylvainar/followers","following_url":"https://api.github.com/users/sylvainar/following{/other_user}","gists_url":"https://api.github.com/users/sylvainar/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvainar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvainar/subscriptions","organizations_url":"https://api.github.com/users/sylvainar/orgs","repos_url":"https://api.github.com/users/sylvainar/repos","events_url":"https://api.github.com/users/sylvainar/events{/privacy}","received_events_url":"https://api.github.com/users/sylvainar/received_events","type":"User","site_admin":false},"body":"This pull request was created to discuss about the new version of the API. \r\n\r\nThe code is totally refactored in order to make smart calls to external APIs (Wikidata, Wikipedia, Wikivoyage), making it really faster, without depending of the number of POIs loaded.\r\n\r\nFeel free to make any comment before it's merged :wink: \r\n\r\nTODO : \r\n\r\n- [ ] Making the code easier to read by separating functions and put them in different files\r\n- [ ] Reorder API requests to make it more efficient\r\n- [ ] Test it, check for breaking changes\r\n- [ ] Update doc\r\n","created_at":"2016-06-05T16:44:11Z","updated_at":"2016-06-05T16:50:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d12aa0aa4aaffb07557882d6516d56c461a8ed00","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/pulls/7/commits","review_comments_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/pulls/7/comments","review_comment_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/issues/7/comments","statuses_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/statuses/206e456304f77f8ebc4780e16ec336f5e96c02d8","head":{"label":"WikiJourney:dev_refact_calls","ref":"dev_refact_calls","sha":"206e456304f77f8ebc4780e16ec336f5e96c02d8","user":{"login":"WikiJourney","id":12583973,"avatar_url":"https://avatars.githubusercontent.com/u/12583973?v=3","gravatar_id":"","url":"https://api.github.com/users/WikiJourney","html_url":"https://github.com/WikiJourney","followers_url":"https://api.github.com/users/WikiJourney/followers","following_url":"https://api.github.com/users/WikiJourney/following{/other_user}","gists_url":"https://api.github.com/users/WikiJourney/gists{/gist_id}","starred_url":"https://api.github.com/users/WikiJourney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WikiJourney/subscriptions","organizations_url":"https://api.github.com/users/WikiJourney/orgs","repos_url":"https://api.github.com/users/WikiJourney/repos","events_url":"https://api.github.com/users/WikiJourney/events{/privacy}","received_events_url":"https://api.github.com/users/WikiJourney/received_events","type":"Organization","site_admin":false},"repo":{"id":47553687,"name":"wikijourney_api","full_name":"WikiJourney/wikijourney_api","owner":{"login":"WikiJourney","id":12583973,"avatar_url":"https://avatars.githubusercontent.com/u/12583973?v=3","gravatar_id":"","url":"https://api.github.com/users/WikiJourney","html_url":"https://github.com/WikiJourney","followers_url":"https://api.github.com/users/WikiJourney/followers","following_url":"https://api.github.com/users/WikiJourney/following{/other_user}","gists_url":"https://api.github.com/users/WikiJourney/gists{/gist_id}","starred_url":"https://api.github.com/users/WikiJourney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WikiJourney/subscriptions","organizations_url":"https://api.github.com/users/WikiJourney/orgs","repos_url":"https://api.github.com/users/WikiJourney/repos","events_url":"https://api.github.com/users/WikiJourney/events{/privacy}","received_events_url":"https://api.github.com/users/WikiJourney/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WikiJourney/wikijourney_api","description":"This repository contains code for WikiJourney's API.","fork":false,"url":"https://api.github.com/repos/WikiJourney/wikijourney_api","forks_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/forks","keys_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/teams","hooks_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/hooks","issue_events_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/issues/events{/number}","events_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/events","assignees_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/assignees{/user}","branches_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/branches{/branch}","tags_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/tags","blobs_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/statuses/{sha}","languages_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/languages","stargazers_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/stargazers","contributors_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/contributors","subscribers_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/subscribers","subscription_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/subscription","commits_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/contents/{+path}","compare_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/merges","archive_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/downloads","issues_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/issues{/number}","pulls_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/pulls{/number}","milestones_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/milestones{/number}","notifications_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/labels{/name}","releases_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/releases{/id}","deployments_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/deployments","created_at":"2015-12-07T13:28:14Z","updated_at":"2016-02-27T14:56:05Z","pushed_at":"2016-06-05T16:48:02Z","git_url":"git://github.com/WikiJourney/wikijourney_api.git","ssh_url":"git@github.com:WikiJourney/wikijourney_api.git","clone_url":"https://github.com/WikiJourney/wikijourney_api.git","svn_url":"https://github.com/WikiJourney/wikijourney_api","homepage":null,"size":36,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"WikiJourney:dev","ref":"dev","sha":"aab53e4c6684beebeeaf599fe710d0224c54edbf","user":{"login":"WikiJourney","id":12583973,"avatar_url":"https://avatars.githubusercontent.com/u/12583973?v=3","gravatar_id":"","url":"https://api.github.com/users/WikiJourney","html_url":"https://github.com/WikiJourney","followers_url":"https://api.github.com/users/WikiJourney/followers","following_url":"https://api.github.com/users/WikiJourney/following{/other_user}","gists_url":"https://api.github.com/users/WikiJourney/gists{/gist_id}","starred_url":"https://api.github.com/users/WikiJourney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WikiJourney/subscriptions","organizations_url":"https://api.github.com/users/WikiJourney/orgs","repos_url":"https://api.github.com/users/WikiJourney/repos","events_url":"https://api.github.com/users/WikiJourney/events{/privacy}","received_events_url":"https://api.github.com/users/WikiJourney/received_events","type":"Organization","site_admin":false},"repo":{"id":47553687,"name":"wikijourney_api","full_name":"WikiJourney/wikijourney_api","owner":{"login":"WikiJourney","id":12583973,"avatar_url":"https://avatars.githubusercontent.com/u/12583973?v=3","gravatar_id":"","url":"https://api.github.com/users/WikiJourney","html_url":"https://github.com/WikiJourney","followers_url":"https://api.github.com/users/WikiJourney/followers","following_url":"https://api.github.com/users/WikiJourney/following{/other_user}","gists_url":"https://api.github.com/users/WikiJourney/gists{/gist_id}","starred_url":"https://api.github.com/users/WikiJourney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WikiJourney/subscriptions","organizations_url":"https://api.github.com/users/WikiJourney/orgs","repos_url":"https://api.github.com/users/WikiJourney/repos","events_url":"https://api.github.com/users/WikiJourney/events{/privacy}","received_events_url":"https://api.github.com/users/WikiJourney/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WikiJourney/wikijourney_api","description":"This repository contains code for WikiJourney's API.","fork":false,"url":"https://api.github.com/repos/WikiJourney/wikijourney_api","forks_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/forks","keys_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/teams","hooks_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/hooks","issue_events_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/issues/events{/number}","events_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/events","assignees_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/assignees{/user}","branches_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/branches{/branch}","tags_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/tags","blobs_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/statuses/{sha}","languages_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/languages","stargazers_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/stargazers","contributors_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/contributors","subscribers_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/subscribers","subscription_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/subscription","commits_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/contents/{+path}","compare_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/merges","archive_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/downloads","issues_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/issues{/number}","pulls_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/pulls{/number}","milestones_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/milestones{/number}","notifications_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/labels{/name}","releases_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/releases{/id}","deployments_url":"https://api.github.com/repos/WikiJourney/wikijourney_api/deployments","created_at":"2015-12-07T13:28:14Z","updated_at":"2016-02-27T14:56:05Z","pushed_at":"2016-06-05T16:48:02Z","git_url":"git://github.com/WikiJourney/wikijourney_api.git","ssh_url":"git@github.com:WikiJourney/wikijourney_api.git","clone_url":"https://github.com/WikiJourney/wikijourney_api.git","svn_url":"https://github.com/WikiJourney/wikijourney_api","homepage":null,"size":36,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WikiJourney/wikijourney_api/pulls/7"},"html":{"href":"https://github.com/WikiJourney/wikijourney_api/pull/7"},"issue":{"href":"https://api.github.com/repos/WikiJourney/wikijourney_api/issues/7"},"comments":{"href":"https://api.github.com/repos/WikiJourney/wikijourney_api/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/WikiJourney/wikijourney_api/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/WikiJourney/wikijourney_api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WikiJourney/wikijourney_api/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/WikiJourney/wikijourney_api/statuses/206e456304f77f8ebc4780e16ec336f5e96c02d8"}}}}
{"actor":{"display_login":"tikiki"}}