{"action":"created","issue":{"url":"https://api.github.com/repos/Armax/Pokemon-GO-node-api/issues/72","repository_url":"https://api.github.com/repos/Armax/Pokemon-GO-node-api","labels_url":"https://api.github.com/repos/Armax/Pokemon-GO-node-api/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/Armax/Pokemon-GO-node-api/issues/72/comments","events_url":"https://api.github.com/repos/Armax/Pokemon-GO-node-api/issues/72/events","html_url":"https://github.com/Armax/Pokemon-GO-node-api/issues/72","id":166966671,"number":72,"title":"Compatibility with PokemonGo-Map JSON","user":{"login":"coolaj86","id":122831,"avatar_url":"https://avatars.githubusercontent.com/u/122831?v=3","gravatar_id":"","url":"https://api.github.com/users/coolaj86","html_url":"https://github.com/coolaj86","followers_url":"https://api.github.com/users/coolaj86/followers","following_url":"https://api.github.com/users/coolaj86/following{/other_user}","gists_url":"https://api.github.com/users/coolaj86/gists{/gist_id}","starred_url":"https://api.github.com/users/coolaj86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolaj86/subscriptions","organizations_url":"https://api.github.com/users/coolaj86/orgs","repos_url":"https://api.github.com/users/coolaj86/repos","events_url":"https://api.github.com/users/coolaj86/events{/privacy}","received_events_url":"https://api.github.com/users/coolaj86/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-22T04:08:51Z","updated_at":"2016-07-22T04:23:07Z","closed_at":null,"body":"I'm trying to get this to work with the python client's web UI. The sample data looks like this:\r\n\r\nI'm just poking around right now and trying to figure out where these values came from (and how they were converted from the binary formats and s2 formats, etc). If there's anything you can immediately comment on please do so. Otherwise I'll just be working my way through. :)\r\n\r\n```json\r\n{\r\n    \"pokemons\": [\r\n        {\r\n            \"disappear_time\": 1469159020156,\r\n            \"encounter_id\": \"MTUzMjQxMjY4NTg4NDUyMTExMTc=\",\r\n            \"latitude\": 40.36915523640919,\r\n            \"longitude\": -111.75098587678943,\r\n            \"pokemon_id\": 16,\r\n            \"pokemon_name\": \"Pidgey\",\r\n            \"spawnpoint_id\": \"874d84035d7\"\r\n        }\r\n    ],\r\n    \"gyms\": [\r\n        {\r\n            \"enabled\": true,\r\n            \"guard_pokemon_id\": 59,\r\n            \"gym_id\": \"ffb14e36c7344c289457faa20319681c.16\",\r\n            \"gym_points\": 10495,\r\n            \"last_modified\": 1469146875398,\r\n            \"latitude\": 40.360204,\r\n            \"longitude\": -111.761231,\r\n            \"team_id\": 2\r\n        }\r\n    ],\r\n    \"pokestops\": [\r\n        {\r\n            \"active_pokemon_id\": 19,\r\n            \"enabled\": true,\r\n            \"last_modified\": 1469157300759,\r\n            \"latitude\": 40.370669,\r\n            \"longitude\": -111.755525,\r\n            \"lure_expiration\": 1469158200716,\r\n            \"pokestop_id\": \"1ef6996b547746c69e22dbe73af6fbb0.16\"\r\n        },\r\n        {\r\n            \"active_pokemon_id\": null,\r\n            \"enabled\": true,\r\n            \"last_modified\": 1469156128717,\r\n            \"latitude\": 40.364965,\r\n            \"longitude\": -111.756411,\r\n            \"lure_expiration\": null,\r\n            \"pokestop_id\": \"1494e52456d64e979fdee61437bfefa7.16\"\r\n        }\r\n    ]\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/Armax/Pokemon-GO-node-api/issues/comments/234451451","html_url":"https://github.com/Armax/Pokemon-GO-node-api/issues/72#issuecomment-234451451","issue_url":"https://api.github.com/repos/Armax/Pokemon-GO-node-api/issues/72","id":234451451,"user":{"login":"coolaj86","id":122831,"avatar_url":"https://avatars.githubusercontent.com/u/122831?v=3","gravatar_id":"","url":"https://api.github.com/users/coolaj86","html_url":"https://github.com/coolaj86","followers_url":"https://api.github.com/users/coolaj86/followers","following_url":"https://api.github.com/users/coolaj86/following{/other_user}","gists_url":"https://api.github.com/users/coolaj86/gists{/gist_id}","starred_url":"https://api.github.com/users/coolaj86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolaj86/subscriptions","organizations_url":"https://api.github.com/users/coolaj86/orgs","repos_url":"https://api.github.com/users/coolaj86/repos","events_url":"https://api.github.com/users/coolaj86/events{/privacy}","received_events_url":"https://api.github.com/users/coolaj86/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T04:23:07Z","updated_at":"2016-07-22T04:23:07Z","body":"**Almost** got `pokemons` figured out:\r\n\r\n```\r\n            \"disappear_time\": MapPokemon[i].ExpirationTimeMs // how to convert from ProtoLong to int?\r\n            \"encounter_id\": MapPokemon[i].EncounterId // how to convert from ProtoLong to base64?\r\n                                      // also NearbyPokemon[i].EncounterId\r\n            \"latitude\": MapPokemon[i].Latitude\r\n            \"longitude\": MapPokemon[i].Longitude\r\n            \"pokemon_id\": MapPokemon[i].PokedexTypeId // how to convert from ProtoLong to base64?\r\n                                      // also NearbyPokemon[i].PokedexNumber\r\n            \"pokemon_name\": pokeio.pokemonlist[n - 1]\r\n            \"spawnpoint_id\": MapPokemon[i].SpawnpointId\r\n```"}}
{"actor":{"display_login":"coolaj86"}}