|
255 | 255 | DataType String 数据类型, 取值为edge:边缘数据; origin:回源数据; 支持多类型选择,多个类型用逗号(半角)分隔,缺省为 edge
|
256 | 256 |
|
257 | 257 | '''
|
258 |
| - #res = client.get_bandwidth_data(DomainIds='2D09NSH',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download',Granularity='240',ResultType='0',Regions='CN',DataType='origin') |
| 258 | + #res = client.get_bandwidth_data(DomainIds='2D09VK5',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download',Granularity='240',ResultType='1',Regions='CN',DataType='origin') |
259 | 259 |
|
260 | 260 |
|
261 | 261 | '''
|
|
277 | 277 | DataType String 数据类型, 取值为edge:边缘数据; origin:回源数据; 支持多类型选择,多个类型用逗号(半角)分隔,缺省为 edge
|
278 | 278 |
|
279 | 279 | '''
|
280 |
| - #res = client.get_flow_data(DomainIds='2D09NSH',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download',Granularity='240',ResultType='0',Regions='CN',DataType='origin') |
| 280 | + #res = client.get_flow_data(DomainIds='2D09VK5',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download',Granularity='240',ResultType='1',Regions='CN',DataType='origin') |
281 | 281 |
|
282 | 282 |
|
283 | 283 | '''
|
|
302 | 302 | DataType String 数据类型, 取值为edge:边缘数据; origin:回源数据; 支持多类型选择,多个类型用逗号(半角)分隔,缺省为 edge
|
303 | 303 |
|
304 | 304 | '''
|
305 |
| - #res = client.get_pv_data(DomainIds='2D09NSH',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download',Granularity='240',ResultType='0',Regions='CN',DataType='origin') |
| 305 | + #res = client.get_pv_data(DomainIds='2D09VK5',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download',Granularity='240',ResultType='0',Regions='CN',DataType='origin') |
306 | 306 |
|
307 | 307 |
|
308 | 308 | '''
|
|
324 | 324 | HitType String 数据类型, 取值为flowhitrate:流量命中率; reqhitrate:请求数命中率; 支持多类型选择,多个类型用逗号(半角)分隔,缺省为reqhitrate
|
325 | 325 |
|
326 | 326 | '''
|
327 |
| - #res = client.get_hit_rate_detailed_data(DomainIds='2D09NSH',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download',Granularity='240',ResultType='0',HitType='flowhitrate') |
| 327 | + #res = client.get_hit_rate_detailed_data(DomainIds='2D09VK5',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download',Granularity='240',ResultType='0',HitType='flowhitrate') |
328 | 328 |
|
329 | 329 |
|
330 | 330 | '''
|
|
346 | 346 | DomainIds String 域名ID,缺省为当前产品类型下的全部域名,可输入需要查询的域名ID,支持批量域名查询,多个域名ID用逗号(半角)分隔
|
347 | 347 |
|
348 | 348 | '''
|
349 |
| - #res = client.get_hit_rate_data(DomainIds='2D09NSH',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download') |
| 349 | + #res = client.get_hit_rate_data(DomainIds='2D09VK5',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download') |
350 | 350 |
|
351 | 351 |
|
352 | 352 | '''
|
|
371 | 371 | Granularity String 统计粒度,取值为 5(默认):5分钟粒度;10:10分钟粒度;20:20分钟粒度;60:1小时粒度;240:4小时粒度;480:8小时粒度;1440:1天粒度
|
372 | 372 |
|
373 | 373 | '''
|
374 |
| - #res = client.get_province_and_isp_flow_data(DomainIds='2D09NSH',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download',ResultType='0') |
| 374 | + #res = client.get_province_and_isp_flow_data(DomainIds='2D09VK5',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download',ResultType='1', Granularity='1440') |
375 | 375 |
|
376 | 376 |
|
377 | 377 | '''
|
|
397 | 397 | Granularity String 统计粒度,取值为 5(默认):5分钟粒度;10:10分钟粒度;20:20分钟粒度;60:1小时粒度;240:4小时粒度;480:8小时粒度;1440:1天粒度
|
398 | 398 |
|
399 | 399 | '''
|
400 |
| - #res = client.get_province_and_isp_bandwidth_data(DomainIds='2D09NSH',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download',ResultType='0') |
| 400 | + #res = client.get_province_and_isp_bandwidth_data(DomainIds='2D09VK5',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download',ResultType='0', Granularity='1440') |
401 | 401 |
|
402 | 402 |
|
403 | 403 | '''
|
|
452 | 452 | LimitN String 热门Url条数,取值为1-200,最大200,默认100
|
453 | 453 |
|
454 | 454 | '''
|
455 |
| - #res = client.get_top_url_data(DomainIds='2D09NSH',LimitN='100',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download') |
| 455 | + #res = client.get_top_url_data(DomainIds='2D09RW5',LimitN='100',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download') |
456 | 456 |
|
457 | 457 |
|
458 | 458 | '''
|
|
491 | 491 | DomainIds String 域名ID,缺省为当前产品类型下的全部域名,可输入需要查询的域名ID,支持批量域名查询,多个域名ID用逗号(半角)分隔
|
492 | 492 |
|
493 | 493 | '''
|
494 |
| - #res = client.get_isp_data(DomainIds='2D09NSH',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download') |
| 494 | + #res = client.get_isp_data(StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',CdnType='download') |
495 | 495 |
|
496 | 496 |
|
497 | 497 | '''
|
|
529 | 529 | Granularity String 统计粒度,取值为 5(默认):5分钟粒度;10:10分钟粒度;20:20分钟粒度;60:1小时粒度;240:4小时粒度;480:8小时粒度;1440:1天粒度
|
530 | 530 |
|
531 | 531 | '''
|
532 |
| - #res = client.get_live_flow_data_by_stream(StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',StreamUrl='rtmp://realflv3.plu.cn/live/ffea40ea2f8e4a5e95096e0f89227092',ResultType='0',Regions='CN',Granularity='1440') |
| 532 | + #res = client.get_live_flow_data_by_stream(StartTime='2016-12-18T08:00+0800',EndTime='2016-12-20T08:00+0800',StreamUrl='rtmp://realflv3.plu.cn/live/ce781fecb2f6447d82d03590e520872f',ResultType='1',Regions='CN',Granularity='1440') |
533 | 533 |
|
534 | 534 |
|
535 | 535 | '''
|
|
550 | 550 | Granularity String 统计粒度,取值为 5(默认):5分钟粒度;10:10分钟粒度;20:20分钟粒度;60:1小时粒度;240:4小时粒度;480:8小时粒度;1440:1天粒度
|
551 | 551 |
|
552 | 552 | '''
|
553 |
| - #res = client.get_live_bandwidth_data_by_stream(StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',StreamUrl='rtmp://realflv3.plu.cn/live/ffea40ea2f8e4a5e95096e0f89227092',ResultType='0',Regions='CN',Granularity='1440') |
| 553 | + #res = client.get_live_bandwidth_data_by_stream(StartTime='2016-12-19T08:00+0800',EndTime='2016-12-20T08:00+0800',StreamUrl='rtmp://realflv3.plu.cn/live/ce781fecb2f6447d82d03590e520872f',ResultType='1',Regions='CN',Granularity='1440') |
554 | 554 |
|
555 | 555 |
|
556 | 556 | '''
|
|
572 | 572 | Granularity String 统计粒度,取值为 5(默认):5分钟粒度;10:10分钟粒度;20:20分钟粒度;60:1小时粒度;240:4小时粒度;480:8小时粒度;1440:1天粒度
|
573 | 573 |
|
574 | 574 | '''
|
575 |
| - #res = client.get_live_online_user_data_by_domain(DomainIds='2D09STT,',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',Regions='CN',Granularity='1440',ResultType='0') |
| 575 | + #res = client.get_live_online_user_data_by_domain(DomainIds='2D09W0V',StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',Regions='CN',Granularity='1440',ResultType='1') |
576 | 576 |
|
577 | 577 |
|
578 | 578 | '''
|
|
595 | 595 | Granularity String 统计粒度,取值为 5(默认):5分钟粒度;10:10分钟粒度;20:20分钟粒度;60:1小时粒度;240:4小时粒度;480:8小时粒度;1440:1天粒度
|
596 | 596 |
|
597 | 597 | '''
|
598 |
| - #res = client.get_live_online_user_data_by_stream(StartTime='2016-11-19T08:00+0800',EndTime='2016-11-20T08:00+0800',StreamUrl='rtmp://realflv3.plu.cn/live/ffea40ea2f8e4a5e95096e0f89227092',ResultType='0',Regions='CN',Granularity='1440') |
| 598 | + #res = client.get_live_online_user_data_by_stream(StartTime='2016-12-19T08:00+0800',EndTime='2016-12-20T08:00+0800',StreamUrl='rtmp://realflv3.plu.cn/live/ce781fecb2f6447d82d03590e520872f',ResultType='0',Regions='CN',Granularity='5') |
599 | 599 |
|
600 | 600 |
|
601 | 601 | '''
|
|
614 | 614 | ResultType String 取值为0:多域名多省份区域多运营商数据做合并;1:每个域名每个省份区域的每个运营商数据分别返回
|
615 | 615 | LimitN 否 Int Top条数,取值为1-200,最大200,默认100
|
616 | 616 | '''
|
617 |
| - res = client.get_live_top_online_user_data(StartTime='2016-11-19T08:00+0800',ResultType='0',Regions='CN',LimitN='100') |
| 617 | + #res = client.get_live_top_online_user_data(StartTime='2016-11-19T08:00+0800',ResultType='1',Regions='CN',LimitN='100') |
618 | 618 |
|
619 | 619 |
|
620 | 620 |
|
|
0 commit comments