home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1335870883

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/1928#issuecomment-1335870883 https://api.github.com/repos/simonw/datasette/issues/1928 1335870883 IC_kwDOBm6k_c5Pn8Wj 9599 2022-12-02T21:19:10Z 2022-12-02T21:19:10Z OWNER

I created the hacker_news_posts table like this:

```bash export ROWS=$( jq -n --argjson rows "$(cat simonwillison-net.json)" \ '{ "table": "hacker_news_posts", "rows": $rows, "pk": "id", "replace": true }' )

Use curl to POST some JSON to a URL

curl -X POST \ https://simon.datasette.cloud/data/-/create \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $DS_TOKEN" \ -d $ROWS ```

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