Skip to content

Load games from the Chess.com API into any destination database (PostgreSQL, MySQL, etc)

Notifications You must be signed in to change notification settings

hermanschaaf/cq-source-chess-com

Repository files navigation

CloudQuery chess-com Source Plugin

test Go Report Card

A Chess.com source plugin for CloudQuery that loads data from the Chess.com API to any database, data warehouse or data lake supported by CloudQuery, such as PostgreSQL, BigQuery, Athena, and many more.

Links

Configuration

The following source configuration file will sync to a PostgreSQL database. See the CloudQuery Quickstart for more information on how to configure the source and destination.

kind: source
spec:
  name: "chess-com"
  path: "hermanschaaf/chess-com"
  version: "${VERSION}"
  destinations:
    - "postgresql"
  tables:
    - "chess_com_games"
    - "chess_com_archives"
  spec:
    # plugin spec section
    usernames: # list of usernames to sync
     - magnuscarlsen
     - hikaru
     - gothamchess

Development

Run tests

make test

Run linter

make lint

Generate docs

make gen-docs

Release a new version

  1. Run git tag v1.0.0 to create a new tag for the release (replace v1.0.0 with the new version number)
  2. Run git push origin v1.0.0 to push the tag to GitHub

Once the tag is pushed, a new GitHub Actions workflow will be triggered to build the release binaries and create the new release on GitHub. To customize the release notes, see the Go releaser changelog configuration docs.

About

Load games from the Chess.com API into any destination database (PostgreSQL, MySQL, etc)

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published