@@ -116,14 +116,22 @@ def timeseries(
116
116
* ,
117
117
agg_interval : Literal ["15m" , "1h" , "1d" , "1w" ] | NotGiven = NOT_GIVEN ,
118
118
asn : List [str ] | NotGiven = NOT_GIVEN ,
119
+ bot_class : List [Literal ["LIKELY_AUTOMATED" , "LIKELY_HUMAN" ]] | NotGiven = NOT_GIVEN ,
119
120
continent : List [str ] | NotGiven = NOT_GIVEN ,
120
121
date_end : List [Union [str , datetime ]] | NotGiven = NOT_GIVEN ,
121
122
date_range : List [str ] | NotGiven = NOT_GIVEN ,
122
123
date_start : List [Union [str , datetime ]] | NotGiven = NOT_GIVEN ,
124
+ device_type : List [Literal ["DESKTOP" , "MOBILE" , "OTHER" ]] | NotGiven = NOT_GIVEN ,
123
125
format : Literal ["JSON" , "CSV" ] | NotGiven = NOT_GIVEN ,
126
+ http_protocol : List [Literal ["HTTP" , "HTTPS" ]] | NotGiven = NOT_GIVEN ,
127
+ http_version : List [Literal ["HTTPv1" , "HTTPv2" , "HTTPv3" ]] | NotGiven = NOT_GIVEN ,
128
+ ip_version : List [Literal ["IPv4" , "IPv6" ]] | NotGiven = NOT_GIVEN ,
124
129
location : List [str ] | NotGiven = NOT_GIVEN ,
125
130
name : List [str ] | NotGiven = NOT_GIVEN ,
126
131
normalization : Literal ["PERCENTAGE_CHANGE" , "MIN0_MAX" ] | NotGiven = NOT_GIVEN ,
132
+ os : List [Literal ["WINDOWS" , "MACOSX" , "IOS" , "ANDROID" , "CHROMEOS" , "LINUX" , "SMART_TV" ]]
133
+ | NotGiven = NOT_GIVEN ,
134
+ tls_version : List [Literal ["TLSv1_0" , "TLSv1_1" , "TLSv1_2" , "TLSv1_3" , "TLSvQUIC" ]] | NotGiven = NOT_GIVEN ,
127
135
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
128
136
# The extra values given here take precedence over values defined on the client or passed to this method.
129
137
extra_headers : Headers | None = None ,
@@ -143,6 +151,9 @@ def timeseries(
143
151
For example, `-174, 3356` excludes results from AS174, but includes results from
144
152
AS3356.
145
153
154
+ bot_class: Filter for bot class. Refer to
155
+ [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).
156
+
146
157
continent: Array of comma separated list of continents (alpha-2 continent codes). Start
147
158
with `-` to exclude from results. For example, `-EU,NA` excludes results from
148
159
Europe, but includes results from North America.
@@ -155,8 +166,16 @@ def timeseries(
155
166
156
167
date_start: Array of datetimes to filter the start of a series.
157
168
169
+ device_type: Filter for device type.
170
+
158
171
format: Format results are returned in.
159
172
173
+ http_protocol: Filter for http protocol.
174
+
175
+ http_version: Filter for http version.
176
+
177
+ ip_version: Filter for ip version.
178
+
160
179
location: Array of comma separated list of locations (alpha-2 country codes). Start with
161
180
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
162
181
but includes results from PT.
@@ -166,6 +185,10 @@ def timeseries(
166
185
normalization: Normalization method applied. Refer to
167
186
[Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).
168
187
188
+ os: Filter for os name.
189
+
190
+ tls_version: Filter for tls version.
191
+
169
192
extra_headers: Send extra headers
170
193
171
194
extra_query: Add additional query parameters to the request
@@ -185,14 +208,21 @@ def timeseries(
185
208
{
186
209
"agg_interval" : agg_interval ,
187
210
"asn" : asn ,
211
+ "bot_class" : bot_class ,
188
212
"continent" : continent ,
189
213
"date_end" : date_end ,
190
214
"date_range" : date_range ,
191
215
"date_start" : date_start ,
216
+ "device_type" : device_type ,
192
217
"format" : format ,
218
+ "http_protocol" : http_protocol ,
219
+ "http_version" : http_version ,
220
+ "ip_version" : ip_version ,
193
221
"location" : location ,
194
222
"name" : name ,
195
223
"normalization" : normalization ,
224
+ "os" : os ,
225
+ "tls_version" : tls_version ,
196
226
},
197
227
http_timeseries_params .HTTPTimeseriesParams ,
198
228
),
@@ -247,14 +277,22 @@ async def timeseries(
247
277
* ,
248
278
agg_interval : Literal ["15m" , "1h" , "1d" , "1w" ] | NotGiven = NOT_GIVEN ,
249
279
asn : List [str ] | NotGiven = NOT_GIVEN ,
280
+ bot_class : List [Literal ["LIKELY_AUTOMATED" , "LIKELY_HUMAN" ]] | NotGiven = NOT_GIVEN ,
250
281
continent : List [str ] | NotGiven = NOT_GIVEN ,
251
282
date_end : List [Union [str , datetime ]] | NotGiven = NOT_GIVEN ,
252
283
date_range : List [str ] | NotGiven = NOT_GIVEN ,
253
284
date_start : List [Union [str , datetime ]] | NotGiven = NOT_GIVEN ,
285
+ device_type : List [Literal ["DESKTOP" , "MOBILE" , "OTHER" ]] | NotGiven = NOT_GIVEN ,
254
286
format : Literal ["JSON" , "CSV" ] | NotGiven = NOT_GIVEN ,
287
+ http_protocol : List [Literal ["HTTP" , "HTTPS" ]] | NotGiven = NOT_GIVEN ,
288
+ http_version : List [Literal ["HTTPv1" , "HTTPv2" , "HTTPv3" ]] | NotGiven = NOT_GIVEN ,
289
+ ip_version : List [Literal ["IPv4" , "IPv6" ]] | NotGiven = NOT_GIVEN ,
255
290
location : List [str ] | NotGiven = NOT_GIVEN ,
256
291
name : List [str ] | NotGiven = NOT_GIVEN ,
257
292
normalization : Literal ["PERCENTAGE_CHANGE" , "MIN0_MAX" ] | NotGiven = NOT_GIVEN ,
293
+ os : List [Literal ["WINDOWS" , "MACOSX" , "IOS" , "ANDROID" , "CHROMEOS" , "LINUX" , "SMART_TV" ]]
294
+ | NotGiven = NOT_GIVEN ,
295
+ tls_version : List [Literal ["TLSv1_0" , "TLSv1_1" , "TLSv1_2" , "TLSv1_3" , "TLSvQUIC" ]] | NotGiven = NOT_GIVEN ,
258
296
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
259
297
# The extra values given here take precedence over values defined on the client or passed to this method.
260
298
extra_headers : Headers | None = None ,
@@ -274,6 +312,9 @@ async def timeseries(
274
312
For example, `-174, 3356` excludes results from AS174, but includes results from
275
313
AS3356.
276
314
315
+ bot_class: Filter for bot class. Refer to
316
+ [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).
317
+
277
318
continent: Array of comma separated list of continents (alpha-2 continent codes). Start
278
319
with `-` to exclude from results. For example, `-EU,NA` excludes results from
279
320
Europe, but includes results from North America.
@@ -286,8 +327,16 @@ async def timeseries(
286
327
287
328
date_start: Array of datetimes to filter the start of a series.
288
329
330
+ device_type: Filter for device type.
331
+
289
332
format: Format results are returned in.
290
333
334
+ http_protocol: Filter for http protocol.
335
+
336
+ http_version: Filter for http version.
337
+
338
+ ip_version: Filter for ip version.
339
+
291
340
location: Array of comma separated list of locations (alpha-2 country codes). Start with
292
341
`-` to exclude from results. For example, `-US,PT` excludes results from the US,
293
342
but includes results from PT.
@@ -297,6 +346,10 @@ async def timeseries(
297
346
normalization: Normalization method applied. Refer to
298
347
[Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).
299
348
349
+ os: Filter for os name.
350
+
351
+ tls_version: Filter for tls version.
352
+
300
353
extra_headers: Send extra headers
301
354
302
355
extra_query: Add additional query parameters to the request
@@ -316,14 +369,21 @@ async def timeseries(
316
369
{
317
370
"agg_interval" : agg_interval ,
318
371
"asn" : asn ,
372
+ "bot_class" : bot_class ,
319
373
"continent" : continent ,
320
374
"date_end" : date_end ,
321
375
"date_range" : date_range ,
322
376
"date_start" : date_start ,
377
+ "device_type" : device_type ,
323
378
"format" : format ,
379
+ "http_protocol" : http_protocol ,
380
+ "http_version" : http_version ,
381
+ "ip_version" : ip_version ,
324
382
"location" : location ,
325
383
"name" : name ,
326
384
"normalization" : normalization ,
385
+ "os" : os ,
386
+ "tls_version" : tls_version ,
327
387
},
328
388
http_timeseries_params .HTTPTimeseriesParams ,
329
389
),
0 commit comments