api rewards что это

11 Popular Rewards APIs

Rewards programs increase customer engagement, loyalty, and ultimately, company profits. And these days, rewards are practically an expected requirement for savvy brands.

Customer loyalty and rewards programs are offered from a variety of sources and use a variety of systems, such as gamification or points earning systems. And perks can be anything from discounts and coupons to free shipping, VIP services, personalized merchandise, and exclusive offers. Developers can add rewards programs to their apps using Application Programming Interfaces, or APIs. The best way to find a suitable API is in the Rewards category of ProgrammableWeb‘s API directory.

In this article, we highlight ten popular Rewards APIs that developers can tap into for enticing users and increasing application engagement.

1. Amazon Moments Reward API

Amazon Moments is a marketing service that allows developers to encourage user engagement by offering real-life rewards. The Amazon Moments Rewards API Track this API allows users to reward their customers who complete specific actions with physical or digital items and products that are fulfilled by Amazon. Moments is a cross- Platform service for any tech with an HTTPS connection. The service and will issue personalized notifications when app customers reach moments.

2. FanBridge API

FanBridge is a Fan Relationship Management (FRM) platform that offers customer engagement and rewards services. Clients of FanBridge can use their tools to interact with their customers and fans, reward them for being customers and fans, and make new customers and fans. The FanBridge API Track this API allows developers to access the functionality of FanBridge. Some example API methods include creating and sending email campaigns to customers and enabling new customers and fans to join the marketing list.

3. FlexAwards API

FlexAwards is a rewards and recognition platform that provides digital gift cards. The FlexAwards API Track this API enables users to access data for digital gifts and gift cards. Developers can integrate languages, countries, amounts, cards, currencies, stores, and balance methods. A JavaScript SDK is available. This one API integrates gift cards from over 250 retailers and is listed under the Rewards category. See ProgrammableWeb‘s complete list of Rewards APIs.

FlexAwards API allows access to over 250 major retailers for corporate gifting services. Image: Screenshot: FlexAwards

4. Codemojo API

Codemojo provides application developers with tools for engagement with their Rewards Network platform. The Codemojo API Track this API connects an application with a rewards platform that supports loyalty points management, wallet, referrals, gamification, and sync. The Codemojo platform is a rewards network for brand partners that delivers exclusive offers, freebies, and discounts.

5. Information Machine API

The Information Machine API Track this API automatically & passively collects users’ purchase data from online and loyalty card purchases at most healthcare, grocery, takeout and major stores (such as Amazon, Costco, Target, Walmart, Walgreens, etc.). The API connects this raw purchase data to product and pricing data. An example of a use case could be a developer can create a food or dieting application that remembers everything the user purchased to make food logging easier. Or the developer can add coupon recommendations based on a user’s past purchasing data.

6. MasterCard Personalized Offers API

MasterCard Personalized Offers API Track this API supports the customization of offers for cardholders based on historical payment card transactions. It allows developers to integrate customer loyalty features for tracking savings, redeeming offers, and rating offers. Cardholders can access and redeem the offers through the online banking platform of the issuing bank.

7. Walgreens Balance Rewards API

The Walgreens Balance Rewards API Track this API enables partners to connect into Walgreens to share health information and receive Balance Rewards points for healthy activities like walking, running, and weight management. The API is designed to enable partners to seamlessly share individual health and lifestyle activity and create or validate user memberships. In order for individuals to receive points for health and wellness activity, they must be a Balance Rewards member and have successfully completed a Walgreens OAuth login or registration.

8. Citibank Pay with Points API

Developers who integrate with Citibank Pay with Points API Track this API can enable Citi customers to use their Citi Points to pay for transactions on an application.

9. Paytronix API

Paytronix is a customer engagement platform. The Paytronix API Track this API manages customer loyalty programs. This RESTful API can be integrated into applications to create reward programs or email clubs, manage giveaways, and analyze customer data. The Documentation includes detailed instructions on getting started with Paytronix as well as a practice console for experimenting with the API.

10. Lightrail API

Lightrail is a gift card, rewards, store credit and promotions service provider from Giftbit. The Lightrail API Track this API returns data regarding digital account credits, gift cards, promotions, and points. Developers can leverage the API to enable apps to run promotions, manage customer loyalty points, create gift cards, and collect payments.

11. Currency Alliance Loyalty API

Currency Alliance provides enables existing and new loyalty programs to connect with other businesses and exchange loyalty currencies. The Currency Alliance Loyalty API Track this API offers access to the issuance, transfer, redemption, or exchange of any loyalty currency in JSON format.

For more information, check out the Rewards category on ProgrammableWeb, where you can find 65 APIs, 30 SDKs, and 21 Sample Codes along with recent rewards-related articles.

Источник

API простым языком: что это и зачем нужен

API (Application Programming Interface или интерфейс программирования приложений) — это совокупность инструментов и функций в виде интерфейса для создания новых приложений, благодаря которому одна программа будет взаимодействовать с другой. Это позволяет разработчикам расширять функциональность своего продукта и связывать его с другими.

Большинство крупных компаний разрабатывают API для клиентов или для внутреннего использования. Обычные пользователи тоже применяют разные API. РБК Тренды объясняют, как это работает.

Когда пользователь посещает любую страницу в интернете, он взаимодействует с API удаленного сервера. Это составляющая сервера, которая получает запросы и отправляет ответы. Кроме того, благодаря API человек может совершать различные действия, не покидая сайт. Именно для этого большинство современных сайтов используют по крайней мере несколько сторонних API, которые предлагают сторонние разработчики. Также компании разрабатывают собственные API и продают их как готовый продукт. К примеру, Weather Underground, которая принадлежит IBM, продает доступ к своему API для получения метеорологических данных. Эту информацию используют погодные приложения и сервисы.

Читайте также:  какой кафель лучше для кухни на фартук

ProgrammableWeb, веб-сайт, посвященный экономике API, в настоящее время отслеживает более 24 тыс. различных программных интерфейсов. Существуют сотни API для финансовых систем, обмена сообщениями в социальных сетях, платежей, электронной коммерции, криптовалют и прочих сфер. Наиболее быстрорастущий сегмент API относится к обмену и анализу данных в различных приложениях.

Как работает API

Интерфейс представляет собой промежуточный слой между двумя приложениями. Он позволяет двум программам обмениваться информацией и выполнять функции, не раскрывая своего внутреннего API. Скрытие части функций называется инкапсуляцией.

Есть три метода взаимодействия с API:

Разработчик имеет полную свободу в выстраивании функций API. Например, отдельный набор функций может определять возможность регистрироваться и авторизоваться в программе.

API бывают публичные и частные. Первые предназначены для совместного использования с внешним миром, например, API YouTube. Сторонние разработчики могут создавать приложения, чтобы воспользоваться возможностями этих интерфейсов. Вторые — это внутренние приложения, разработанные для определенной аудитории или пользовательской базы. Они часто используются на предприятиях и внутри компаний. Для работы с таким API нужно получить доступ.

Для чего используют API

Разработчикам программный интерфейс позволяет:

До появления Windows и других графических операционных систем программистам для создания окон на экране компьютера приходилось писать тысячи строк кода. Когда же Microsoft предоставила разработчикам API Windows, на создание окон стало уходить всего несколько минут работы.

Бизнесу API нужны, чтобы:

В 1990-е годы организация, которая хотела запустить систему управления взаимоотношениями с клиентами (CRM), была вынуждена вкладывать огромные средства в программное обеспечение, оборудование и специалистов. Теперь компании используют облачные службы вроде Salesforce. Доступ на уровне API к функциям Salesforce позволяет бизнесу включить ключевые элементы функциональности CRM-системы — например, возможность просматривать историю клиента.

Правительствам API позволяют:

Уже в 40 городах США используется бесплатный API Open311, который позволяет отслеживать проблемы на основе местоположения пользователя. Человеку достаточно лишь отправить в городскую систему фото с выбоиной на дороге и указанием геолокации.

Примеры API в нашей жизни

Google Календарь. Приложение-календарь на Android разработает на API, позволяющем подключить свой календарь напрямую к сторонним приложениям. Пользователи могут использовать несколько разных программ с встроенными и обновляемыми календарями, где будут все важные события, встречи и т.д. Компании могут встраивать API календаря на свои сайты, чтобы, к примеру, записывать своих клиентов на прием. Встраивание в форму записи Google Календаря позволяет клиентам автоматически создавать событие и вносить детали о предстоящей встрече. Благодаря API сервер сайта напрямую обращается к серверу Google с запросом на создание события, получает ответ Google, обрабатывает его и передает соответствующую информацию в браузер, которая поступает клиенту в виде сообщения с подтверждением.

Заказ авиабилетов. Многие пользуются агрегаторами билетов, такими как Aviasales и SkyScanner. Такие сервисы собирают информацию о стоимости авиабилетов в разных авиакомпаниях и отображают ее в едином окне. Это позволяет реализовать API, встроенный в сайты авиакомпаний, который помогает в реальном времени обновлять информацию о направлениях и стоимости.

Навигация на сайтах и в приложениях. Крупные компании, в том числе Apple, Google, «Яндекс» и другие, разработали API, позволяющие подключить собственный картографический сервис к другим площадкам. Так, в «Яндекс.Карты» встроены сервисы «Транспорт» и «Пробки». Многие приложения на Android, например, по доставке еды или для спорта, используют встроенный в ОС API, чтобы подключить карты Google к своему сервису. На iOS аналогичная ситуация с Apple Maps.

Кнопки авторизации. На многих сайтах есть кнопки, позволяющие зарегистрироваться через уже существующие аккаунты на популярных площадках и в соцсетях. Это возможно благодаря API, которые есть у Google, Facebook, Apple, Twitter, «ВКонтакте» и других компаний.

Источник

Rewarded ads (legacy API)

Prerequisites

Create a rewarded ad object

Kotlin

The constructor requires the following arguments:

Always test with test ads

When building and testing your apps, make sure you use test ads rather than live, production ads. Failure to do so can lead to suspension of your account.

The easiest way to load test ads is to use our dedicated test ad unit ID for Android rewarded ads:

It’s been specially configured to return test ads for every request, and you’re free to use it in your own apps while coding, testing, and debugging. Just make sure you replace it with your own ad unit ID before publishing your app.

For more information about how the Mobile Ads SDK’s test ads work, see Test Ads.

Load an ad

To load a rewarded ad, call the RewardedAd object’s loadAd() method. This method requires instances of AdRequest and RewardedAdLoadCallback as arguments.

Kotlin

The onRewardedAdLoaded() and onRewardedAdFailedToLoad() methods of the RewardedAdLoadCallback provide the result of the ad load operation.

Show the ad

Before displaying a rewarded ad to users, you must present the user with an explicit choice to view rewarded ad content in exchange for a reward. Rewarded ads must always be an opt-in experience.

The rewarded ad from the previous code example could be shown in a button’s OnClickListener like this:

Kotlin

Receive ad event notifications

The RewardedAdCallback provided to the show() method gets notifications of rewarded ad events. Each of the overridable methods in RewardedAdCallback corresponds to an event in the lifecycle of a rewarded ad. For example, the onUserEarnedReward() method is the perfect place to provide the user with their reward. Additional details on each ad event method is provided below.

Overridable methods
onRewardedAdOpened() This method is invoked when the ad is displayed, covering the device’s screen.
onRewardedAdClosed() This method is invoked when the rewarded ad is closed due to the user tapping on the close icon or using the back button. If your app paused its audio output or game loop, this is a great place to resume it.
onUserEarnedReward() The method is invoked when the user should be rewarded for interacting with the ad. Reward details that were configured for your ad unit can be accessed through the getType() and getAmount() methods of the RewardItem parameter.
onRewardedAdFailedToShow() This method is invoked when an ad fails to display. It includes an adError parameter that indicates what type of failure occurred. The possible values of the error code ( adError.getCode() ) are defined as constants in the RewardedAdCallback class.

Using RewardedAdCallback to preload the next rewarded ad

RewardedAd is a one-time-use object. This means that once a rewarded ad is shown, the object can’t be used to load another ad. To request another rewarded ad, you’ll need to create a new RewardedAd object.

Читайте также:  какой насадкой делать маникюр на аппарате

A best practice is to load another rewarded ad in the onRewardedAdClosed() method on RewardedAdCallback so that the next rewarded ad starts loading as soon as the previous one is dismissed:

Kotlin

Loading multiple rewarded ads

To load multiple rewarded ads, follow the steps outlined in the create a rewarded ad object and load an ad sections for each ad you intend to load. The code snippet below demonstrates how to load two rewarded ads for two distinct ad placements.

Kotlin

How do I find out why a particular mediation network isn’t ready?

AdapterStatus.getDescription() describes why an adapter is not ready to service ad requests.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Источник

Rewards API

The Rewards API allows you to reward your customers with products that are fulfilled by Amazon. The API is supported for apps (Android, IOS, and FireOS) and websites.

This guide provides instructions for the Rewards APIs along with examples of how to use the APIs.

Overview

The following are the high-level steps for using the Rewards APIs:

The following workflow map shows the high-level interactions.

API Endpoints

For details about the API endpoints, see the API Endpoint Specification. These endpoints are specified in OpenAPI format, which provides an interactive API explorer in which you can try out sample API calls.

There are two endpoints in the Rewards API:

The two endpoints use the same request parameters. The main difference between them is that the GetReward endpoint consumes a reward and the GetRewardInfo endpoint returns information about the reward but does not consume the reward.

API Authorization

The Rewards API uses an API key passed in the header to authorize requests.

You can obtain the API Key for your app in the Registration Details information in the Moments Console.

API Throttling

Note: If you do not set a delay and do not restrict the number of retries, the number of retry requests may cause the throttling to get worse.

API Timeout

The Moments service sets a 10-second timeout for each Rewards API request. You must set a longer timeout in your server implementation, to ensure that you always get a response from the Moments service (a success response, error response or a timeout).

If your server times out before the Moments service, you may miss the success response from a getReward call. In this situation, Moments will charge you for the reward, but your app is unaware of the reward and will never offer it to the user.

We recommend that you implement code to recover from an API timeout, with logic similar to the API throttling logic described above.

API Requests in Various Languages

The following tabs show how to call the endpoints in various languages.

If you’re calling the Rewards APIs in a language not shown, you will need to determine the API request format for that language.

Error Messages

If the Moments service cannot complete the API request successfully, the rewardNotificationText field contains a text message to explain the error.
Note that these error responses use HTTP status code 200. Possible error messages include:

Test Account

To explore the Rewards APIs, you can use the following test account and configuration. (You use most of these parameters in the body request when calling the endpoints.)

In this demo, there is one campaign ( DEMOCAMP1 ) defined for the app ( DEMO1 ). In the campaign, the configuration defines one moment ( MomentsReward ) for the Android device type. There is one reward group available for this moment. This reward group has 5 available rewards, which makes a total of 5 rewards for this campaign.

Field Value
DEV ID MOMENTS
(This value isn’t used in the endpoint requests; it’s used behind the scenes to group apps by developer)
API KEY kE2xi2OgUa7jfijmsd0jQ74aJntJwUEW2EU8LUsi
appId DEMO1
campaignId DEMOCAMP1
deviceType Android
rewardGroupId US
momentId MomentsReward

During your testing and development, if you consume all of the rewards in the test account, you can reset the rewards back to 5 by submitting a GET request to https://at0xry1l42.execute-api.us-east-1.amazonaws.com/prod with the same API key. For example, you can submit this via your terminal with cURL:

Источник

Best Coupons and Reward APIs

Last Updated on July 29, 2020 by RapidAPI Staff 6 Comments

A coupon is a ticket or document (printed or digital) that can be redeemed for a financial discount/rebate when purchasing a product or service.

What are Coupon and Reward APIs?

Coupon and rewards APIs allow developers to tap into different affiliate coupon or reward/loyalty program (or points) databases to access the available information to enrich their application or website.

At RapidAPI.com, developers have access to over 8,000 popular APIs including reward and couponing APIs.

Best Coupon and Reward APIs

Here is the list of the top reward and coupon-related APIs on RapidAPI’s marketplace that we thought were worth mentioning:

1. Free Coupon Codes API by CashNJoy

CashNJoy is an offers, cashback, and rewards website that caters to the India audience.

The Coupon Codes API can be used to enrich eCommerce and shopping applications/websites with their large coupon database.

Free Coupon Codes API Endpoints

Free Coupon Codes API Pricing

The CashNJoy Free Coupon Codes API is free to use with a RapidAPI account.

2. Deals and Coupons API


The Deals & Coupons API is another India-based API that provides access to coupons and offers from major merchants such as:

Available affiliates include:

Deals and Coupons API Endpoints

Deals and Coupons API Pricing

This API is also free to use on RapidAPI.

3. DayWatch API


DayWatch is a real-time business reporting and decision support tool for Daily Deal companies. They provide industry reports and insights.

The DayWatch API gives access to real-time daily offers and coupons in the US, Latin America, and South East Asia.

DayWatch API Endpoints

DayWatch API Pricing

The DayWatch API is free for up to 10 daily API requests.

4. Blip A Deal Worldwide Deals API

Blip A Deal finds and aggregates over 500,000 offers every month. The serve the following regions:

Blip A Deal is recommended if you need to find deals while traveling abroad.

The Blip A Deal API enables developers to access over 6 million deals a year across 12 countries.

Blip A Deal Worldwide Deals API Endpoints

Blip A Deal Worldwide Deals API Pricing

The Blip A Deal API is free to use through RapidAPI with a valid Blip A Deal API key. You can request API acccess on their site.

5. 8coupons API

What is 8oupons

8coupons is a deal/offer aggregator that distributes updates on deals and digital coupons to consumers based on weekly deals, online feeds, or the user’s current location.

The 8coupons API grants developers access to their local daily deal data from deal websites across the world (with the exception of LivingSocial and Groupon).

8coupons API Endpoints

8coupons API Pricing

6. Rewards as a Service API by Tango Card

Tango Card is a company that provides rewards programs services by bundling rewards technology, e-gift card catalog, and expert support.

Their API provides access to their services to create accounts and place orders through their system.

Learn more about their API endpoints:

Rewards as a Service API Endpoints

Rewards as a Service API Pricing

The API is free to use but requires an API key by emailing sdk@tangocard.com to get a platform name and key created.

7. 27coupons API

27coupons is another coupon and deal data aggregator based in India. Their REST API provides access to their database to find coupons for all types of eCommerce stores across India.

27coupons API Endpoints

27coupons API Pricing

The 27coupons API is free to use on RapidAPI. Sign up on 27coupons to generate your API key.

8. LinkMyDeals Coupon Feed API

LinkMyDeals is an automated content provider for coupon and deal websites sourced from over 2,000 Indian eCommerce retail stores.

Their API provides a feed of the available coupon data in JSON, XML or CSV format.

LinkMyDeals Coupon Feed API Endpoints

LinkMyDeals Coupon Feed API Pricing

LinkMyDeals provides 2 types of data for each of the stores – Premium & Non-Premium.

Premium Data will give you 100% accurate content for any particular store

Non-Premium Data will give you an accuracy level of 60% – 70% for the same store.

By subscribing for the right combination of Premium and Non-Premium levels for each store, you can achieve the perfect balance of accuracy & costs that you desire.

1000

You can download your feed any time and set your Affiliate Networks and Store Deeplinking from our panel.

No Two clients will get the same offer texts for any store

No Two clients will get the same offer texts for any store

File and API can be customized for personalized content and fields

You can set your own store name for each store

You can map your own category to the categories that we maintain

You can set which store needs
to be deeplinked with which Affiliate Network

Redirect Store URLs through LinkMyDeals to activate/pause/change Affiliate Networks Campaigns on the fly

BUDGET ADVANCED
Updates Monday, Wednesday, Friday Monday to Friday
(+ Saturday in case of important updates)
No. of Stores a la carte
(We’ll give you offers from any online store that you want)
Type of Data Non-Premium Premium + Non-Premium
Accuracy 60% – 70% 100% accuracy
if you set all stores for Premium Data
Delivery E-Mail File Download, API
(Scheduled E-Mail delivery and FTP transfer coming soon)
Access to Panel
Installation Fee NA ₹ 2000 + Taxes
(Once in Lifetime)
Pricing
(Monthly)
₹ 1500 + Taxes ₹ 2750
+ ₹ 125 per store (Premium Data)
+ ₹ 8 per store (Non-Premium Data)

+ Taxes

You can calculate your monthly costs via their Monthly Price calculator.

9. Groupon API

What is Groupon

Groupon is a US-based eCommerce company that partners with local merchants to provide discounted activities, travel, services or goods to customers.

Their Deal API provides access to over 80,000 deals from Groupon channels and supports JSON and XML formats.

The API returns deals in multiple categories and locations.

Groupon API Keys and Access

To gain access to the API, you’ll need to become a Groupon affiliate to get your affiliate ID and API token.

10. Discount API

The Discount API is another feed of aggregated offers & discounts from multiple sources. The API is provided in a single format and is simple to integrate.

This API allows you to become an affiliate of Groupon (GPN), or Restaurant.com and Woot.com (through CJ).

Discount API Pricing

11. RetailMeNot API

RetailMeNot was established to aggregate coupon offers and make them available to consumers.

RetailMeNot gets most of their coupon data from large affiliate networks like Commission Junction and Linkshare datafeeds/API’s which allow sites to source a constant flow of fresh coupons & offers.

12. Coupons.com API

Coupons.com offers an “Out-of-Box” RSS/API and Coupon XML feed, which allows developers to display coupon content on their websites or applications.

13. LinkShare API

LinkShare is an affiliate marketing hub owned by Rakuten. The API allows affiliates and advertisers to run a query against their database to find products, coupons, and offers.

Developers can access this data to display on their website or app to earn revenue through the affiliate program.

Summary: Best Rewards and Coupon APIs

API Data Available Endpoints Region
CashNJoy Coupon Codes 1 India
Deals and Coupons Coupon Codes 3 India
DayWatch Reporting & Offers 9+ South America
BlipADeal Deals Abroad 9+ US, Australia and Asia
8coupons Coupons 9+ US
Tango Card E-gift cards 7 US
27coupons Coupons 3 India
LinkMyDeals Coupons 1 India
Groupon Travel, services, good and offers n/a Global
Discount Offers and discounts n/a Global
RetailMeNot Coupon Codes n/a Global
Coupons.com Coupon Codes n/a US

Do you agree with our list? What do you think is the best coupon API? Let us know in the comments below.

Do you have a coupon/reward API you want to add to RapidAPI?

Источник

Читайте также:  какой металл не темнеет в бижутерии
Сказочный портал