home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where issue = 1065429936 sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 2

  • simonw 2
  • 20after4 2

author_association 2

  • NONE 2
  • OWNER 2

issue 1

  • Use datasette-table Web Component to guide the design of the JSON API for 1.0 · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
1069570893 https://github.com/simonw/datasette/issues/1532#issuecomment-1069570893 https://api.github.com/repos/simonw/datasette/issues/1532 IC_kwDOBm6k_c4_wFtN simonw 9599 2022-03-16T20:11:41Z 2022-03-16T20:13:34Z OWNER

Could also build a CLI Rich/Textual app to exercise the API - which could embed Datasette as a dependency and work using datasette.client.get(...) calls.

Could be a plugin that adds a datasette tui command.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Use datasette-table Web Component to guide the design of the JSON API for 1.0 1065429936  
982745406 https://github.com/simonw/datasette/issues/1532#issuecomment-982745406 https://api.github.com/repos/simonw/datasette/issues/1532 IC_kwDOBm6k_c46k4E- 20after4 30934 2021-11-30T15:28:57Z 2021-11-30T15:28:57Z NONE

It's a really great API and the documentation is really great too. Honestly, in more than 20 years of professional experience, I haven't worked with any software API that was more of a joy to use.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Use datasette-table Web Component to guide the design of the JSON API for 1.0 1065429936  
982319210 https://github.com/simonw/datasette/issues/1532#issuecomment-982319210 https://api.github.com/repos/simonw/datasette/issues/1532 IC_kwDOBm6k_c46jQBq simonw 9599 2021-11-30T06:12:19Z 2021-11-30T06:12:19Z OWNER

That's really cool to hear - I've not seen many people actively building on top of the JSON API.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Use datasette-table Web Component to guide the design of the JSON API for 1.0 1065429936  
981966693 https://github.com/simonw/datasette/issues/1532#issuecomment-981966693 https://api.github.com/repos/simonw/datasette/issues/1532 IC_kwDOBm6k_c46h59l 20after4 30934 2021-11-29T19:56:52Z 2021-11-29T19:56:52Z NONE

FWIW I've written some web components that consume the json api and I think it's a really nice way to work with datasette. I like the combination with datasette+sqlite as a back-end feeding data to a front-end that's entirely javascript + html.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Use datasette-table Web Component to guide the design of the JSON API for 1.0 1065429936  

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
, [performed_via_github_app] TEXT);
CREATE INDEX [idx_issue_comments_issue]
                ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
                ON [issue_comments] ([user]);
Powered by Datasette · Queries took 18.512ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows