{"action":"created","issue":{"url":"https://api.github.com/repos/OSTraining/Simplerenew/issues/379","labels_url":"https://api.github.com/repos/OSTraining/Simplerenew/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/OSTraining/Simplerenew/issues/379/comments","events_url":"https://api.github.com/repos/OSTraining/Simplerenew/issues/379/events","html_url":"https://github.com/OSTraining/Simplerenew/issues/379","id":115920028,"number":379,"title":"Batch sync of local accounts","user":{"login":"gibiwatch","id":3787345,"avatar_url":"https://avatars.githubusercontent.com/u/3787345?v=3","gravatar_id":"","url":"https://api.github.com/users/gibiwatch","html_url":"https://github.com/gibiwatch","followers_url":"https://api.github.com/users/gibiwatch/followers","following_url":"https://api.github.com/users/gibiwatch/following{/other_user}","gists_url":"https://api.github.com/users/gibiwatch/gists{/gist_id}","starred_url":"https://api.github.com/users/gibiwatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gibiwatch/subscriptions","organizations_url":"https://api.github.com/users/gibiwatch/orgs","repos_url":"https://api.github.com/users/gibiwatch/repos","events_url":"https://api.github.com/users/gibiwatch/events{/privacy}","received_events_url":"https://api.github.com/users/gibiwatch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-09T17:02:09Z","updated_at":"2015-11-10T14:22:57Z","closed_at":null,"body":"Hello,\r\nshortly: is there any plan for a CLI / background task that sync all existing accounts?\r\n\r\n# Details\r\n\r\nWe are currently using a different integration extension for Recurly but we're close to migrating to SimpleRenew and group-based ACL. We already have existing subscriptions and we cannot wait until all of them are renewed (some are yearly) to trigger the changes via SimpleRenew web hook.\r\n\r\nSo we're planning to write a CLI app to perform an \"on-demand\" batch sync of all accounts.\r\n\r\nBefore writing any code, and since we plan to write it as an \"addon\" to SimpleRenew anyway, I'd like to check if you already have plans / code / tips. Thank you."},"comment":{"url":"https://api.github.com/repos/OSTraining/Simplerenew/issues/comments/155433533","html_url":"https://github.com/OSTraining/Simplerenew/issues/379#issuecomment-155433533","issue_url":"https://api.github.com/repos/OSTraining/Simplerenew/issues/379","id":155433533,"user":{"login":"gibiwatch","id":3787345,"avatar_url":"https://avatars.githubusercontent.com/u/3787345?v=3","gravatar_id":"","url":"https://api.github.com/users/gibiwatch","html_url":"https://github.com/gibiwatch","followers_url":"https://api.github.com/users/gibiwatch/followers","following_url":"https://api.github.com/users/gibiwatch/following{/other_user}","gists_url":"https://api.github.com/users/gibiwatch/gists{/gist_id}","starred_url":"https://api.github.com/users/gibiwatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gibiwatch/subscriptions","organizations_url":"https://api.github.com/users/gibiwatch/orgs","repos_url":"https://api.github.com/users/gibiwatch/repos","events_url":"https://api.github.com/users/gibiwatch/events{/privacy}","received_events_url":"https://api.github.com/users/gibiwatch/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T14:22:57Z","updated_at":"2015-11-10T14:22:57Z","body":"That is definitely a good start. I will use the boostrap file and add the batch processing, trying to figure out the SimpleRenew API :-) \r\n\r\nThank you for the tip. If you don't mind leaving this open for a few days, I will update with my progress."}}