{"action":"opened","issue":{"url":"https://api.github.com/repos/spb201/spb201.github.io/issues/94","labels_url":"https://api.github.com/repos/spb201/spb201.github.io/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/spb201/spb201.github.io/issues/94/comments","events_url":"https://api.github.com/repos/spb201/spb201.github.io/issues/94/events","html_url":"https://github.com/spb201/spb201.github.io/issues/94","id":75941544,"number":94,"title":"Сделать рейтинг","user":{"login":"LeshaKoss","id":566319,"avatar_url":"https://avatars.githubusercontent.com/u/566319?v=3","gravatar_id":"","url":"https://api.github.com/users/LeshaKoss","html_url":"https://github.com/LeshaKoss","followers_url":"https://api.github.com/users/LeshaKoss/followers","following_url":"https://api.github.com/users/LeshaKoss/following{/other_user}","gists_url":"https://api.github.com/users/LeshaKoss/gists{/gist_id}","starred_url":"https://api.github.com/users/LeshaKoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeshaKoss/subscriptions","organizations_url":"https://api.github.com/users/LeshaKoss/orgs","repos_url":"https://api.github.com/users/LeshaKoss/repos","events_url":"https://api.github.com/users/LeshaKoss/events{/privacy}","received_events_url":"https://api.github.com/users/LeshaKoss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spb201/spb201.github.io/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-13T10:46:42Z","updated_at":"2015-05-13T10:46:42Z","closed_at":null,"body":"на сервере будет храниться типа вот так:\r\n```json\r\nid: {\r\n  \"title\": \"...\",\r\n  \"nodes\": [\"...\"],\r\n  \"...\": \"...\",\r\n  \"rating\": {\r\n    \"facebook:123123\": 3.5,\r\n    \"facebook:1337\": 5\r\n  }\r\n}\r\n```\r\nГде facebook:123123 это юзерайди\r\nРейтинг будет просчитываться как ср. арифм. при каждом обращении к нему (как сделать по-нормальному я не придумал)"}}