The Yiftee GiftUp™ API allows website and mobile app developers to "gift-enable" their sites, meaning their users can send Yiftee gifts without ever leaving their website or app. GiftUp uses the Yiftee.com backend which offers gifts at over two million merchants all over the United States. Try out the demo if you haven't yet!
The following sections will guide you through everything you need to do to add gifting to your app. Any questions please direct them to Yiftee Developer Support at developers@yiftee.com.
NSString * url = @"http://app.yiftee.com/api/v1/gifts/send.html?"; NSString * params = @"api_token=1a461040ef067dea7f40fd8ef3b2663c4&sender_name=Donna&recipient_name=Aldo&recipient_email=aldo@yiftee.com"; NSURL *urlforWebView = [NSURL URLWithString:[NSString stringWithFormat:@"%@%@", url, params]]; NSURLRequest * urlRequest = [NSURLRequest requestWithURL:urlforWebView]; [webView loadRequest:urlRequest];
String url = "http://app.yiftee.com/api/v1/gifts/send.html?"; String * params = @"api_token=1a461040ef067dea7f40fd8ef3b2663c4&sender_name=Donna&recipient_name=Aldo&recipient_email=aldo@yiftee.com"; WebView webView = (WebView) findViewById(R.id.webview); WebSettings webSettings = webView.getSettings(); webSettings.setJavaScriptEnabled(true); webview.loadUrl(url + params);