{"action":"created","issue":{"url":"https://api.github.com/repos/foxtrot94/ECE-Pokedex/issues/4","labels_url":"https://api.github.com/repos/foxtrot94/ECE-Pokedex/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/foxtrot94/ECE-Pokedex/issues/4/comments","events_url":"https://api.github.com/repos/foxtrot94/ECE-Pokedex/issues/4/events","html_url":"https://github.com/foxtrot94/ECE-Pokedex/issues/4","id":94535470,"number":4,"title":"Gather all Pokemon Data from Main Sources","user":{"login":"foxtrot94","id":6027890,"avatar_url":"https://avatars.githubusercontent.com/u/6027890?v=3","gravatar_id":"","url":"https://api.github.com/users/foxtrot94","html_url":"https://github.com/foxtrot94","followers_url":"https://api.github.com/users/foxtrot94/followers","following_url":"https://api.github.com/users/foxtrot94/following{/other_user}","gists_url":"https://api.github.com/users/foxtrot94/gists{/gist_id}","starred_url":"https://api.github.com/users/foxtrot94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foxtrot94/subscriptions","organizations_url":"https://api.github.com/users/foxtrot94/orgs","repos_url":"https://api.github.com/users/foxtrot94/repos","events_url":"https://api.github.com/users/foxtrot94/events{/privacy}","received_events_url":"https://api.github.com/users/foxtrot94/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/foxtrot94/ECE-Pokedex/labels/Data%20Gathering","name":"Data Gathering","color":"53b9fb"},{"url":"https://api.github.com/repos/foxtrot94/ECE-Pokedex/labels/DB","name":"DB","color":"9fe850"},{"url":"https://api.github.com/repos/foxtrot94/ECE-Pokedex/labels/Enhancement","name":"Enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"flareflare","id":13157019,"avatar_url":"https://avatars.githubusercontent.com/u/13157019?v=3","gravatar_id":"","url":"https://api.github.com/users/flareflare","html_url":"https://github.com/flareflare","followers_url":"https://api.github.com/users/flareflare/followers","following_url":"https://api.github.com/users/flareflare/following{/other_user}","gists_url":"https://api.github.com/users/flareflare/gists{/gist_id}","starred_url":"https://api.github.com/users/flareflare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flareflare/subscriptions","organizations_url":"https://api.github.com/users/flareflare/orgs","repos_url":"https://api.github.com/users/flareflare/repos","events_url":"https://api.github.com/users/flareflare/events{/privacy}","received_events_url":"https://api.github.com/users/flareflare/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-07-12T05:18:04Z","updated_at":"2015-08-06T20:08:39Z","closed_at":null,"body":"*Related to issue #5 #6*\r\nWhile the previous release of the Pokedex has certain information taken from the [PokeAPI](http://pokeapi.co/), it may be somewhat inconsistent or incomplete. Furthermore, more data on each pokemon may be required (such as Location, Moveset, Egg Group, Abilities, EV Yield).\r\n\r\nFrom,\r\n* [serebii.net](http://www.serebii.net/pokedex-xy/)\r\n* [Smogon Strategy Dex](http://www.smogon.com/dex/)\r\n\r\nGather and categorize all the data possible provided by such sites for the current generation of Pokemon Games and Locations. To facilitate this task, use Python 3 or 2.7 and ask @thineshth for help. It is recommended that you use  JSON or XML files to save your data in a serialized manner that can later be used to introduce it into a database with ease."},"comment":{"url":"https://api.github.com/repos/foxtrot94/ECE-Pokedex/issues/comments/128490576","html_url":"https://github.com/foxtrot94/ECE-Pokedex/issues/4#issuecomment-128490576","issue_url":"https://api.github.com/repos/foxtrot94/ECE-Pokedex/issues/4","id":128490576,"user":{"login":"flareflare","id":13157019,"avatar_url":"https://avatars.githubusercontent.com/u/13157019?v=3","gravatar_id":"","url":"https://api.github.com/users/flareflare","html_url":"https://github.com/flareflare","followers_url":"https://api.github.com/users/flareflare/followers","following_url":"https://api.github.com/users/flareflare/following{/other_user}","gists_url":"https://api.github.com/users/flareflare/gists{/gist_id}","starred_url":"https://api.github.com/users/flareflare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flareflare/subscriptions","organizations_url":"https://api.github.com/users/flareflare/orgs","repos_url":"https://api.github.com/users/flareflare/repos","events_url":"https://api.github.com/users/flareflare/events{/privacy}","received_events_url":"https://api.github.com/users/flareflare/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T20:08:39Z","updated_at":"2015-08-06T20:08:39Z","body":"Steps to scrape Pokemon descriptions from Bulbapedia (and possibly locations):\r\n\r\n1) Find page with all pokemon with links (bulbapedia)\r\n2) Load all links to pokemon into an array / Get rid of junk links\r\n3) Load all numbers of pokemon\r\n4) Use BS4 to iterate through this link \"list\" and ignore every other pokemon and number starting at first (ignore odd numbers)\r\n5) Use Javier's code in previous comment to get description\r\n6) Use number and description to store in DB\r\n\r\nA similar process can be used to scrape for locations."}}