{"action":"created","issue":{"url":"https://api.github.com/repos/IFRCGo/go-frontend/issues/321","repository_url":"https://api.github.com/repos/IFRCGo/go-frontend","labels_url":"https://api.github.com/repos/IFRCGo/go-frontend/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/IFRCGo/go-frontend/issues/321/comments","events_url":"https://api.github.com/repos/IFRCGo/go-frontend/issues/321/events","html_url":"https://github.com/IFRCGo/go-frontend/issues/321","id":336524176,"node_id":"MDU6SXNzdWUzMzY1MjQxNzY=","number":321,"title":"Create data columns on countries for ACAPs data","user":{"login":"dereklieu","id":1590802,"node_id":"MDQ6VXNlcjE1OTA4MDI=","avatar_url":"https://avatars3.githubusercontent.com/u/1590802?v=4","gravatar_id":"","url":"https://api.github.com/users/dereklieu","html_url":"https://github.com/dereklieu","followers_url":"https://api.github.com/users/dereklieu/followers","following_url":"https://api.github.com/users/dereklieu/following{/other_user}","gists_url":"https://api.github.com/users/dereklieu/gists{/gist_id}","starred_url":"https://api.github.com/users/dereklieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereklieu/subscriptions","organizations_url":"https://api.github.com/users/dereklieu/orgs","repos_url":"https://api.github.com/users/dereklieu/repos","events_url":"https://api.github.com/users/dereklieu/events{/privacy}","received_events_url":"https://api.github.com/users/dereklieu/received_events","type":"User","site_admin":false},"labels":[{"id":977864210,"node_id":"MDU6TGFiZWw5Nzc4NjQyMTA=","url":"https://api.github.com/repos/IFRCGo/go-frontend/labels/1%20Hour","name":"1 Hour","color":"c2e0c6","default":false},{"id":977944534,"node_id":"MDU6TGFiZWw5Nzc5NDQ1MzQ=","url":"https://api.github.com/repos/IFRCGo/go-frontend/labels/Must-have","name":"Must-have","color":"fc3c3f","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-28T08:33:09Z","updated_at":"2018-07-10T22:36:23Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Write a scraper for ACAPs data that connects to the API daily.\r\n\r\nSteps:\r\n\r\n1. Create a country profile table that is linked to a country. Like the user profile, this should be created whenever a country is created.\r\n1. API should query the country endpoint at `/webservices/countries.json`.\r\n1. For every country that exists in GO, using ISO2 code, the API should query the endpoint for that country, and fetch and update the existing properties (namely the overview property).\r\n1. We should make sure not to overwhelm the ACAPs server and take care to limit our requests to a certain number per second."},"comment":{"url":"https://api.github.com/repos/IFRCGo/go-frontend/issues/comments/403987853","html_url":"https://github.com/IFRCGo/go-frontend/issues/321#issuecomment-403987853","issue_url":"https://api.github.com/repos/IFRCGo/go-frontend/issues/321","id":403987853,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzk4Nzg1Mw==","user":{"login":"dereklieu","id":1590802,"node_id":"MDQ6VXNlcjE1OTA4MDI=","avatar_url":"https://avatars3.githubusercontent.com/u/1590802?v=4","gravatar_id":"","url":"https://api.github.com/users/dereklieu","html_url":"https://github.com/dereklieu","followers_url":"https://api.github.com/users/dereklieu/followers","following_url":"https://api.github.com/users/dereklieu/following{/other_user}","gists_url":"https://api.github.com/users/dereklieu/gists{/gist_id}","starred_url":"https://api.github.com/users/dereklieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereklieu/subscriptions","organizations_url":"https://api.github.com/users/dereklieu/orgs","repos_url":"https://api.github.com/users/dereklieu/repos","events_url":"https://api.github.com/users/dereklieu/events{/privacy}","received_events_url":"https://api.github.com/users/dereklieu/received_events","type":"User","site_admin":false},"created_at":"2018-07-10T22:36:23Z","updated_at":"2018-07-10T22:36:23Z","author_association":"CONTRIBUTOR","body":"I've revised this to reflect the fact that we're not building a scraper in this phase, just adding columns to the country model that can be manually filled with contextual data, either from ACAPs or another source (or internal).\r\n\r\nWaiting on confirmation on which fields and what type of fields we want to add."}}
{"actor":{"display_login":"dereklieu"}}