Releases: Agash/GoAffPro.Client
Releases · Agash/GoAffPro.Client
TESTERS WANTED v0.2.1-dev1
TESTERS WANTED! I need some folks with real access to real data to test this for me, I'd appreciate any help and am happy to answer any questions or write simple test scripts
Breaking Changes
GetOrdersAsync,GetAffiliatesAsync,GetRewardsAsync,GetPayoutsAsyncnow acceptfromandtoDate(DateTimeOffset?) parameters for time-based filtering instead of just limit/offset- vent detector
GoAffProEventDetectornow uses time-based filtering instead of tracking Ids with a HashSet
Features
- Time-based filtering for feeds: All feed methods now support
fromandtoDateparameters to filter by timestamp
IMPORTANT: I don't know whether any of the formats used are correct or not, the live API doesn't return any errors for me personally, but since I don't have any proper affiliate sites to test with and no data to verify I can't know whether it silently fails or not - New
GetPayoutsAsyncmethod: Fetches payout feed items from/user/feed/payouts - New
GetProductsAsyncmethod: Fetches product feed items from/user/feed/products - Event detector improvements: Now uses time-based filtering - stores last poll timestamp and fetches only new items since last poll. Added
OrderStartTimeandAffiliateStartTimeproperties for backfilling historical data
Model Updates
IMPORTANT: I don't know whether any of the formats used are correct or not, the live API doesn't return any errors for me personally, but since I don't have any proper affiliate sites to test with and no data to verify I can't know whether it silently fails or not. The same applies to any data models, since their API Descriptions don't clearly define them for our relevant endpoints specifically, returning dynamic objects.
- GoAffProOrder: Added
Subtotal,AffiliateId,Statusfields - GoAffProAffiliate: Added
FirstName,LastName,Phone,Country,GroupIdfields - GoAffProReward: Added
AffiliateId,Type,Metadata,Level,Statusfields - New GoAffProPayout model: id, affiliateId, amount, status, paymentMethod, transactionId, currency, createdAt
- New GoAffProProduct model: id, name, description, price, salePrice, imageUrl, productUrl, category, sku, currency
Full Changelog: v0.2.0...v0.2.1-dev1
v0.2.0 — First Proper Release: Generated GoAffPro .NET Client
GoAffPro.Client v0.2.0
First proper release of GoAffPro.Client: a strongly typed, build-generated .NET client for GoAffPro with improved
developer experience.
Highlights
- Build-time NSwag generation for
/user/*and/public/*clients. - High-level wrapper API (
GoAffProClient) built on top of generated clients. - Strongly typed feed models:
GoAffProOrderGoAffProAffiliateGoAffProReward
- Event detection with both:
IAsyncEnumerablestreams- classic
.NETevents (EventHandler<TEventArgs>)
- Polly-based resilience (retry + circuit breaker).
- DI registration extensions for ASP.NET Core/Hosted services.
- Contract snapshot tests + unit/integration coverage.
Known Limitation
/user/feed/rewardsis currently returning404(observed on API on 2026-02-18).- Reward wrapper/polling APIs are marked
[Obsolete]and currently return no live reward feed data.
Targets
net8.0net10.0