issue_comments: 608020485
This data as json
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/simonw/datasette/issues/713#issuecomment-608020485 | https://api.github.com/repos/simonw/datasette/issues/713 | 608020485 | MDEyOklzc3VlQ29tbWVudDYwODAyMDQ4NQ== | 9599 | 2020-04-02T18:11:53Z | 2020-04-02T18:11:53Z | OWNER | I can add https://pypi.org/project/PyYAML/ as a dependency for this. One open question: how best to tell the difference between a JSON and a YAML file? I'd rather not do it based on a file extension. Since I'm going to read the whole file into memory anyway (rather than try to stream it) and I only load it once at startup, maybe I try to parse with one and, if there's a parsing error, try the other one before giving up? | {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | 592829135 |