The Rewardful JavaScript client has a few attributes and methods that may come in handy for advanced users, like fetching the current referral, affiliate, and coupon data, and running code when Rewardful loads.
The JavaScript API Documentation has moved to a new page.