API Coupon

Help improve Bet Angel.
Post Reply
thelearner
Posts: 15
Joined: Sun Jun 10, 2018 10:38 am

An API request to rather than add markets to guardian from coupon, but to return the market information held on the coupon, e.g. market names, event id, market id.

Be a life changer for me.
sniffer66
Posts: 1644
Joined: Thu May 02, 2019 8:37 am

There is a workaround to a direct request of what 'would' be loaded, - use the API to load the coupon, do a "get markets" request, which will give you ID's, names etc, then delete the relevant Id's, then on to the next coupon - assuming you are loading multiples
thelearner
Posts: 15
Joined: Sun Jun 10, 2018 10:38 am

That is exactly what I do already, but when loading a large amount of markets (yep footie again) can get a tad slow.
Post Reply

Return to “Suggestions”