Back to source list
Official
XKCD
Loads data from the XKCD API into any supported destination.
Price
Free
Set up process #
brew install cloudquery/tap/cloudquery
1. Download CLI and login
2. Create source and destination configs
Plugin configurationOverview #
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
Links #
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.4.6"
tables: ["xkcd_comics"]
destinations:
- "postgresql"
spec: