goldenpay
Production-oriented Rust library for FunPay automation.
Included
- session-based client
- proxy support
- retry policy
- order polling bot
- state storage
- delivery automation helpers
- chat messaging
- order page parsing
- offer read and edit
- price calculation
- category and offer listing
Quick start
use ;
use Duration;
async
Main API
GoldenPay::connect()GoldenPaySession::send_message()GoldenPaySession::fetch_orders()GoldenPaySession::fetch_order_page()GoldenPaySession::fetch_offer_details()GoldenPaySession::edit_offer()GoldenPaySession::calc_price()DeliveryService::process_paid_order()GoldenPayBot::load_state()GoldenPayBot::bootstrap()GoldenPayBot::poll_once()
Automation example
See examples/process_paid_order.rs for a high-level flow that:
- finds a paid order
- reserves delivery items
- deduplicates processed orders through
JsonDeliveryStore - builds a delivery message
- sends the message to the buyer chat