{"action":"created","issue":{"url":"https://api.github.com/repos/pathmann/pyTSon/issues/10","repository_url":"https://api.github.com/repos/pathmann/pyTSon","labels_url":"https://api.github.com/repos/pathmann/pyTSon/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/pathmann/pyTSon/issues/10/comments","events_url":"https://api.github.com/repos/pathmann/pyTSon/issues/10/events","html_url":"https://github.com/pathmann/pyTSon/issues/10","id":184711639,"number":10,"title":"[Feature Request] settings.db API","user":{"login":"Bluscream","id":3318223,"avatar_url":"https://avatars.githubusercontent.com/u/3318223?v=3","gravatar_id":"","url":"https://api.github.com/users/Bluscream","html_url":"https://github.com/Bluscream","followers_url":"https://api.github.com/users/Bluscream/followers","following_url":"https://api.github.com/users/Bluscream/following{/other_user}","gists_url":"https://api.github.com/users/Bluscream/gists{/gist_id}","starred_url":"https://api.github.com/users/Bluscream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bluscream/subscriptions","organizations_url":"https://api.github.com/users/Bluscream/orgs","repos_url":"https://api.github.com/users/Bluscream/repos","events_url":"https://api.github.com/users/Bluscream/events{/privacy}","received_events_url":"https://api.github.com/users/Bluscream/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-23T19:56:34Z","updated_at":"2016-10-30T01:09:05Z","closed_at":null,"body":"> This is not a must have and i don't expect this to happen any time soon but please keep it on your to-do list.\r\n\r\nFunctions i would like to see resulting from this are:\r\n\r\n```python\r\nts3db.getCurrentLanguage()\r\nts3db.isPluginEnabled(string PluginName)\r\nts3db.getCurrentStyle()\r\nts3db.getCurrentIconPack()\r\nts3db.getCurrentSoundPack()\r\nts3db.getLastConnection() #which returns a list with all the values (LastUsedServerNickName etc.)\r\nts3db.getContacts() #correctly formatted as tuple\r\nts3db.checkContactStatus(uid) #which returns 0,1,2 (1 is blocked for example)\r\nts3db.purgeContacts(int status) #0-2\r\nts3db.clearContacts() #completely clears contacts table (should require GUI confirmation)\r\nts3db.clearBookmarks() #completely bookmarks contacts table (should require GUI confirmation)\r\nts3db.clearIdentities() #completely clears ID's table (should require GUI confirmation)\r\n#ts3db.setLastBan(int LastBanTime, string LastBanReason) #?prepares the ban window for use with plugins\r\nts3db.setNews(string NewsText, bool NewsClosed)\r\nts3db.getBanPresets()\r\nts3db.getAFKPresets()\r\nts3db.getCaptureProfiles()\r\nts3db.getPlaybackProfiles()\r\nts3db.isSyncing()\r\nts3db.getChatFont()\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/pathmann/pyTSon/issues/comments/257125529","html_url":"https://github.com/pathmann/pyTSon/issues/10#issuecomment-257125529","issue_url":"https://api.github.com/repos/pathmann/pyTSon/issues/10","id":257125529,"user":{"login":"Bluscream","id":3318223,"avatar_url":"https://avatars.githubusercontent.com/u/3318223?v=3","gravatar_id":"","url":"https://api.github.com/users/Bluscream","html_url":"https://github.com/Bluscream","followers_url":"https://api.github.com/users/Bluscream/followers","following_url":"https://api.github.com/users/Bluscream/following{/other_user}","gists_url":"https://api.github.com/users/Bluscream/gists{/gist_id}","starred_url":"https://api.github.com/users/Bluscream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bluscream/subscriptions","organizations_url":"https://api.github.com/users/Bluscream/orgs","repos_url":"https://api.github.com/users/Bluscream/repos","events_url":"https://api.github.com/users/Bluscream/events{/privacy}","received_events_url":"https://api.github.com/users/Bluscream/received_events","type":"User","site_admin":false},"created_at":"2016-10-30T01:09:05Z","updated_at":"2016-10-30T01:09:05Z","body":"Then just think away the write functions ^~^"}}
{"actor":{"display_login":"Bluscream"}}