Beeline

Async Rust helpers for Foursquare and Swarm OAuth plus latest checkin polling. Designed for Discord bots and other Rust services that own their own user linking, token storage, and scheduling.

What It Provides

OAuth Helpers

Build Foursquare authorization URLs, parse callbacks, exchange authorization codes, and carry signed Discord metadata through OAuth with LinkState.

Checkin Polling

Fetch /v2/users/self/checkins for one authorized user or poll many linked users with bounded concurrency and per-user success or failure results.

Library Boundary

Beeline stays storage- and framework-neutral. Your bot owns slash commands, callback routes, token persistence, and posting policy.

Integration Docs

Start with the Discord bot integration guide and the API validation notes .