Back to plugin list
xkcd
Official

XKCD

Loads data from the XKCD API into any supported destination.

Publisher

cloudquery

Repositorygithub.com
Latest version

v1.1.0

Type

Source

Platforms
Date Published

Price

Free

Set up process #


brew install cloudquery/tap/cloudquery

1. Download CLI and login

See installation options

2. Create source and destination configs

Plugin configuration

cloudquery sync xkcd.yml postgresql.yml

3. Run the sync

CloudQuery sync

Overview #

This CloudQuery source plugin fetches data from the XKCD API, allowing you to load the XKCD comic data into any CloudQuery-supported destination (e.g. PostgreSQL, Elasticsearch, Snowflake, etc.). See CloudQuery destinations for a complete list of supported destinations.
It was originally developed as part of a live-coding tutorial on how to write your own CloudQuery source plugin. It only took 30 minutes! You can watch the video here: https://www.youtube.com/watch?v=3Ka_Ob8E6P8

Configuration #

The following configuration syncs from the XKCD API to a Postgres destination.
The (top level) source spec section is described in the Source Spec Reference. The config for the postgresql destination is not shown here. See our Quickstart if you need help setting up the destination.
kind: source
spec:
  name: "xkcd"
  path: "cloudquery/xkcd"
  version: "v1.1.0"
  tables: ["xkcd_comics"]
  destinations:
    - "postgresql"
  spec:



© 2024 CloudQuery, Inc. All rights reserved.