get(androidId=None, device=None, manufacturer=None, model=None, product=None, serial=None)
Returns a list of promo offers available to the user
accept(androidId=None, device=None, manufacturer=None, model=None, offerId=None, product=None, serial=None, volumeId=None)
Args: androidId: string, device android_id device: string, device device manufacturer: string, device manufacturer model: string, device model offerId: string, A parameter product: string, device product serial: string, device serial volumeId: string, Volume id to exercise the offer
dismiss(androidId=None, device=None, manufacturer=None, model=None, offerId=None, product=None, serial=None)
Args: androidId: string, device android_id device: string, device device manufacturer: string, device manufacturer model: string, device model offerId: string, Offer to dimiss product: string, device product serial: string, device serial
get(androidId=None, device=None, manufacturer=None, model=None, product=None, serial=None)
Returns a list of promo offers available to the user
Args:
androidId: string, device android_id
device: string, device device
manufacturer: string, device manufacturer
model: string, device model
product: string, device product
serial: string, device serial
Returns:
An object of the form:
{
"items": [ # A list of offers.
{
"artUrl": "A String",
"gservicesKey": "A String",
"id": "A String",
"items": [
{
"author": "A String",
"canonicalVolumeLink": "A String",
"coverUrl": "A String",
"description": "A String",
"title": "A String",
"volumeId": "A String",
},
],
},
],
"kind": "promooffer#offers", # Resource type.
}