Vega API Client Libraries

Reference implementations for the Vega Space API in seven languages.

# Quick start (any language) cp .env.example .env # Add your API token pip install -r requirements.txt # Install deps (Python example) python pull_interference.py # Run

Each directory contains a reusable API client class and a ready-to-run script. Get your API token at /api_tokens.

Python

Uses requests. Python 3.8+.

client.py · pull_interference.py · config.py · requirements.txt · .env.example · README

JavaScript / Node.js

Uses axios. Node.js 18+.

client.js · pull_interference.js · package.json · .env.example · README

Go

Uses net/http (stdlib). Go 1.21+.

client.go · main.go · go.mod · .env.example · README

Rust

Uses reqwest (blocking). Rust 2021 edition.

client.rs · main.rs · Cargo.toml · .env.example · README

Java

Uses java.net.http (stdlib). Java 11+.

VegaClient.java · PullInterference.java · EnvLoader.java · .env.example · README

C++

Uses libcurl. C++17.

vega_client.h · vega_client.cpp · main.cpp · Makefile · .env.example · README

MATLAB

Uses webread/webwrite (stdlib). R2016b+.

VegaClient.m · pull_interference.m · load_env.m · env.example · README
← Back to API Documentation