blob: 2aa0bcd0f6aee728660a32ac8faf04c7ca5038a9 [file] [log] [blame]
Craig Citro065b5302014-08-14 00:47:23 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="books_v1.html">Books API</a> . <a href="books_v1.promooffer.html">promooffer</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070078 <code><a href="#accept">accept(androidId=None, device=None, manufacturer=None, model=None, offerId=None, product=None, serial=None, volumeId=None)</a></code></p>
Craig Citro065b5302014-08-14 00:47:23 -070079<p class="firstline"></p>
80<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070081 <code><a href="#dismiss">dismiss(androidId=None, device=None, manufacturer=None, model=None, offerId=None, product=None, serial=None)</a></code></p>
Craig Citro065b5302014-08-14 00:47:23 -070082<p class="firstline"></p>
83<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070084 <code><a href="#get">get(androidId=None, device=None, manufacturer=None, model=None, product=None, serial=None)</a></code></p>
Craig Citro065b5302014-08-14 00:47:23 -070085<p class="firstline">Returns a list of promo offers available to the user</p>
86<h3>Method Details</h3>
87<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -070088 <code class="details" id="accept">accept(androidId=None, device=None, manufacturer=None, model=None, offerId=None, product=None, serial=None, volumeId=None)</code>
Craig Citro065b5302014-08-14 00:47:23 -070089 <pre>
90
91Args:
Bu Sun Kim65020912020-05-20 12:08:20 -070092 androidId: string, device android_id
Craig Citro065b5302014-08-14 00:47:23 -070093 device: string, device device
Bu Sun Kim65020912020-05-20 12:08:20 -070094 manufacturer: string, device manufacturer
95 model: string, device model
Craig Citro065b5302014-08-14 00:47:23 -070096 offerId: string, A parameter
Bu Sun Kim65020912020-05-20 12:08:20 -070097 product: string, device product
Craig Citro065b5302014-08-14 00:47:23 -070098 serial: string, device serial
Bu Sun Kim65020912020-05-20 12:08:20 -070099 volumeId: string, Volume id to exercise the offer
Craig Citro065b5302014-08-14 00:47:23 -0700100</pre>
101</div>
102
103<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700104 <code class="details" id="dismiss">dismiss(androidId=None, device=None, manufacturer=None, model=None, offerId=None, product=None, serial=None)</code>
Craig Citro065b5302014-08-14 00:47:23 -0700105 <pre>
106
107Args:
Craig Citro065b5302014-08-14 00:47:23 -0700108 androidId: string, device android_id
Bu Sun Kim65020912020-05-20 12:08:20 -0700109 device: string, device device
Craig Citro065b5302014-08-14 00:47:23 -0700110 manufacturer: string, device manufacturer
Bu Sun Kim65020912020-05-20 12:08:20 -0700111 model: string, device model
112 offerId: string, Offer to dimiss
113 product: string, device product
114 serial: string, device serial
Craig Citro065b5302014-08-14 00:47:23 -0700115</pre>
116</div>
117
118<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700119 <code class="details" id="get">get(androidId=None, device=None, manufacturer=None, model=None, product=None, serial=None)</code>
Craig Citro065b5302014-08-14 00:47:23 -0700120 <pre>Returns a list of promo offers available to the user
121
122Args:
Craig Citro065b5302014-08-14 00:47:23 -0700123 androidId: string, device android_id
Bu Sun Kim65020912020-05-20 12:08:20 -0700124 device: string, device device
Craig Citro065b5302014-08-14 00:47:23 -0700125 manufacturer: string, device manufacturer
Bu Sun Kim65020912020-05-20 12:08:20 -0700126 model: string, device model
127 product: string, device product
128 serial: string, device serial
Craig Citro065b5302014-08-14 00:47:23 -0700129
130Returns:
131 An object of the form:
132
133 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700134 &quot;items&quot;: [ # A list of offers.
Craig Citro065b5302014-08-14 00:47:23 -0700135 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700136 &quot;artUrl&quot;: &quot;A String&quot;,
137 &quot;gservicesKey&quot;: &quot;A String&quot;,
138 &quot;id&quot;: &quot;A String&quot;,
139 &quot;items&quot;: [
Craig Citro065b5302014-08-14 00:47:23 -0700140 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700141 &quot;author&quot;: &quot;A String&quot;,
142 &quot;canonicalVolumeLink&quot;: &quot;A String&quot;,
143 &quot;coverUrl&quot;: &quot;A String&quot;,
144 &quot;description&quot;: &quot;A String&quot;,
145 &quot;title&quot;: &quot;A String&quot;,
146 &quot;volumeId&quot;: &quot;A String&quot;,
Craig Citro065b5302014-08-14 00:47:23 -0700147 },
148 ],
Craig Citro065b5302014-08-14 00:47:23 -0700149 },
150 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700151 &quot;kind&quot;: &quot;promooffer#offers&quot;, # Resource type.
Craig Citro065b5302014-08-14 00:47:23 -0700152 }</pre>
153</div>
154
155</body></html>