Skip to main content

Sample Codes


Record Downloaders

UID-Sharded Downloader 1.00 (MongoDB)

29 August 2025

This downloader retrieves World-Check On Demand records via the API in parallel and saves them directly into a MongoDB collection. Each record is uniquely identified by its UID.

Language: Python

  • Best for: Clients who already use MongoDB and want to retrieve the records quickly.
  • Features: Parallel execution across multiple instances, automatic retries for API limits or server errors.
  • Benefit: Retrieves that data quickly into a ready-to-query database collection with no additional import step.

Download: wcod_parallel_download_to_mongodb_1.00.zip

UID-Sharded Downloader 1.00 (NDJSON File)

29 August 2025

This downloader retrieves World-Check On Demand records via the API in parallel and saves them as multiple newline-delimited JSON files, one per instance. Each record is uniquely identified by its UID.

Language: Python

  • Best for: Clients who prefer to work with files for loading into other databases and partner systems.
  • Features: Parallel execution across multiple instances, automatic retries for API limits or server errors.
  • Benefit: Produces portable JSON files that can readily be moved across systems, archived, or imported into any database.

Download: wcod_parallel_download_to_file_1.00.zip