home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

7 rows where issue = 703218756 sorted by updated_at descending

✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • simonw 7

issue 1

  • Commands for making authenticated API calls · 7 ✖

author_association 1

  • MEMBER 7
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions issue performed_via_github_app
711569063 https://github.com/dogsheep/github-to-sqlite/issues/50#issuecomment-711569063 https://api.github.com/repos/dogsheep/github-to-sqlite/issues/50 MDEyOklzc3VlQ29tbWVudDcxMTU2OTA2Mw== simonw 9599 2020-10-19T05:01:29Z 2020-10-19T05:01:29Z MEMBER

Demo of --accept:

github-to-sqlite get /repos/simonw/datasette/readme --accept 'application/vnd.github.VERSION.html'
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Commands for making authenticated API calls 703218756  
693794700 https://github.com/dogsheep/github-to-sqlite/issues/50#issuecomment-693794700 https://api.github.com/repos/dogsheep/github-to-sqlite/issues/50 MDEyOklzc3VlQ29tbWVudDY5Mzc5NDcwMA== simonw 9599 2020-09-17T04:02:39Z 2020-09-17T04:02:39Z MEMBER

It would be useful if you could pass an --accept option to this.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Commands for making authenticated API calls 703218756  
693789129 https://github.com/dogsheep/github-to-sqlite/issues/50#issuecomment-693789129 https://api.github.com/repos/dogsheep/github-to-sqlite/issues/50 MDEyOklzc3VlQ29tbWVudDY5Mzc4OTEyOQ== simonw 9599 2020-09-17T03:40:01Z 2020-09-17T03:40:01Z MEMBER

Bug with endpoints that return dictionaries rather than arrays: github-to-sqlite get /users/simonw [ "login", "id", "node_id", "avatar_url", "gravatar_id", "url", "html_url", "followers_url", "following_url", "gists_url", "starred_url", "subscriptions_url", "organizations_url", "repos_url", "events_url", "received_events_url", "type", "site_admin", "name", "company", "blog", "location", "email", "hireable", "bio", "twitter_username", "public_repos", "public_gists", "followers", "following", "created_at", "updated_at" ]

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Commands for making authenticated API calls 703218756  
693788387 https://github.com/dogsheep/github-to-sqlite/issues/50#issuecomment-693788387 https://api.github.com/repos/dogsheep/github-to-sqlite/issues/50 MDEyOklzc3VlQ29tbWVudDY5Mzc4ODM4Nw== simonw 9599 2020-09-17T03:36:47Z 2020-09-17T03:36:58Z MEMBER

Fun demo of the --nl option:

github-to-sqlite get /users/simonw/repos --paginate --nl | sqlite-utils insert simonw.db repos - --nl
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Commands for making authenticated API calls 703218756  
693788032 https://github.com/dogsheep/github-to-sqlite/issues/50#issuecomment-693788032 https://api.github.com/repos/dogsheep/github-to-sqlite/issues/50 MDEyOklzc3VlQ29tbWVudDY5Mzc4ODAzMg== simonw 9599 2020-09-17T03:35:22Z 2020-09-17T03:35:22Z MEMBER

Documentation: https://github.com/dogsheep/github-to-sqlite/blob/b02bf135485c0a7a3768868967f45a6b5e515289/README.md#making-authenticated-api-calls

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Commands for making authenticated API calls 703218756  
693775622 https://github.com/dogsheep/github-to-sqlite/issues/50#issuecomment-693775622 https://api.github.com/repos/dogsheep/github-to-sqlite/issues/50 MDEyOklzc3VlQ29tbWVudDY5Mzc3NTYyMg== simonw 9599 2020-09-17T02:48:34Z 2020-09-17T02:48:34Z MEMBER

I'd like a --paginate option that does the same thing as https://github.com/simonw/paginate-json

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Commands for making authenticated API calls 703218756  
693773191 https://github.com/dogsheep/github-to-sqlite/issues/50#issuecomment-693773191 https://api.github.com/repos/dogsheep/github-to-sqlite/issues/50 MDEyOklzc3VlQ29tbWVudDY5Mzc3MzE5MQ== simonw 9599 2020-09-17T02:39:26Z 2020-09-17T02:39:26Z MEMBER

I'm going to start with github-to-sqlite get and github-to-sqlite post - I may add put and suchlike later on.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
Commands for making authenticated API calls 703218756  

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 20.005ms · About: github-to-sqlite
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows