home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 675884980

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/943#issuecomment-675884980 https://api.github.com/repos/simonw/datasette/issues/943 675884980 MDEyOklzc3VlQ29tbWVudDY3NTg4NDk4MA== 9599 2020-08-19T06:44:26Z 2020-08-19T06:44:26Z OWNER

Need to decide what to do about JSON responses.

When called from a template it's likely the intent will be to further loop through the JSON data returned. It would be annoying to have to run json.loads here.

Maybe a .get_json() method then? Or even return a response that has .json() and .text similar to httpx - or just return an httpx response.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
681375466  
Powered by Datasette · Queries took 0.911ms · About: github-to-sqlite