{"action":"opened","issue":{"url":"https://api.github.com/repos/Armax/Pokemon-GO-node-api/issues/69","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/69/labels{/name}","comments_url":"https://api.github.com/repos/Armax/Pokemon-GO-node-api/issues/69/comments","events_url":"https://api.github.com/repos/Armax/Pokemon-GO-node-api/issues/69/events","html_url":"https://github.com/Armax/Pokemon-GO-node-api/issues/69","id":166958203,"number":69,"title":"How to serialize / deserialize?","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":0,"created_at":"2016-07-22T02:31:26Z","updated_at":"2016-07-22T02:31:26Z","closed_at":null,"body":"Looking at the code presently it seems to be very stateful and I don't think it's possible to serialize and deserialize the objects, so I'll find a way to work around it.\r\n\r\nHowever, the application I'm trying to build allows multiple web and mobile users. Obviously I don't want to store all of that state in memory, so I need to be able to serialize and deserialize the object frequently - including the cookies.\r\n\r\nCurrently I'm bouncing back and forth between this and the python version trying to figure out how the api works and how to best accomplish my goals, but both are hard-coded for a single user. :-/\r\n\r\nIf it doesn't fit into your long-term goals to make this support an unlimited number of users simultaneously, I can't complain, but if it is I'll give some more specific feedback (most notably the cookie jar needs to be accepted and exportable) and pull requests if I can."}}
{"actor":{"display_login":"coolaj86"}}