|
1 | | -"""Python package for using the Urban Airship API""" |
| 1 | +"""Python package for using the Airship API""" |
2 | 2 | import logging |
3 | 3 |
|
4 | 4 | from .automation import Automation, Pipeline |
5 | 5 | from .common import AirshipFailure, Unauthorized |
6 | 6 | from .core import Airship |
7 | | -from .devices import (APIDList, Attribute, AttributeResponse, ChannelInfo, |
8 | | - ChannelList, ChannelTags, ChannelUninstall, DeviceInfo, |
9 | | - DeviceTokenList, Email, EmailAttachment, EmailTags, |
10 | | - LocationFinder, ModifyAttributes, NamedUser, |
11 | | - NamedUserList, NamedUserTags, OpenChannel, |
12 | | - OpenChannelTags, Segment, SegmentList, Sms, StaticList, |
13 | | - StaticLists) |
| 7 | +from .devices import ( |
| 8 | + APIDList, |
| 9 | + Attribute, |
| 10 | + AttributeResponse, |
| 11 | + ChannelInfo, |
| 12 | + ChannelList, |
| 13 | + ChannelTags, |
| 14 | + ChannelUninstall, |
| 15 | + DeviceInfo, |
| 16 | + DeviceTokenList, |
| 17 | + Email, |
| 18 | + EmailAttachment, |
| 19 | + EmailTags, |
| 20 | + KeywordInteraction, |
| 21 | + LocationFinder, |
| 22 | + ModifyAttributes, |
| 23 | + NamedUser, |
| 24 | + NamedUserList, |
| 25 | + NamedUserTags, |
| 26 | + OpenChannel, |
| 27 | + OpenChannelTags, |
| 28 | + Segment, |
| 29 | + SegmentList, |
| 30 | + Sms, |
| 31 | + StaticList, |
| 32 | + StaticLists, |
| 33 | +) |
14 | 34 | from .experiments import ABTest, Experiment, Variant |
15 | | -from .push import (CreateAndSendPush, Push, ScheduledList, ScheduledPush, |
16 | | - Template, TemplateList, TemplatePush, absolute_date, |
17 | | - actions, alias, all_, amazon, amazon_channel, and_, android, |
18 | | - android_channel, apid, best_time, campaigns, channel, |
19 | | - date_attribute, device_token, device_types, email, in_app, |
20 | | - interactive, ios, ios_channel, local_scheduled_time, |
21 | | - location, merge_data, message, named_user, not_, |
22 | | - notification, number_attribute, open_channel, open_platform, |
23 | | - options, or_, public_notification, recent_date, |
24 | | - scheduled_time, segment, sms, sms_id, sms_sender, style, |
25 | | - tag, tag_group, text_attribute, wearable, web, wns, |
26 | | - wns_payload) |
27 | | -from .reports import (AppOpensList, CustomEventsList, DevicesReport, |
28 | | - ExperimentReport, IndividualResponseStats, OptInList, |
29 | | - OptOutList, PushList, ResponseList, ResponseReportList, |
30 | | - TimeInAppList, WebResponseReport) |
| 35 | +from .push import ( |
| 36 | + CreateAndSendPush, |
| 37 | + Push, |
| 38 | + ScheduledList, |
| 39 | + ScheduledPush, |
| 40 | + Template, |
| 41 | + TemplateList, |
| 42 | + TemplatePush, |
| 43 | + absolute_date, |
| 44 | + actions, |
| 45 | + alias, |
| 46 | + all_, |
| 47 | + amazon, |
| 48 | + amazon_channel, |
| 49 | + and_, |
| 50 | + android, |
| 51 | + android_channel, |
| 52 | + apid, |
| 53 | + best_time, |
| 54 | + campaigns, |
| 55 | + channel, |
| 56 | + date_attribute, |
| 57 | + device_token, |
| 58 | + device_types, |
| 59 | + email, |
| 60 | + in_app, |
| 61 | + interactive, |
| 62 | + ios, |
| 63 | + ios_channel, |
| 64 | + local_scheduled_time, |
| 65 | + location, |
| 66 | + merge_data, |
| 67 | + message, |
| 68 | + mms, |
| 69 | + named_user, |
| 70 | + not_, |
| 71 | + notification, |
| 72 | + number_attribute, |
| 73 | + open_channel, |
| 74 | + open_platform, |
| 75 | + options, |
| 76 | + or_, |
| 77 | + public_notification, |
| 78 | + recent_date, |
| 79 | + scheduled_time, |
| 80 | + segment, |
| 81 | + sms, |
| 82 | + sms_id, |
| 83 | + sms_sender, |
| 84 | + style, |
| 85 | + tag, |
| 86 | + tag_group, |
| 87 | + text_attribute, |
| 88 | + wearable, |
| 89 | + web, |
| 90 | + wns, |
| 91 | + wns_payload, |
| 92 | +) |
| 93 | +from .reports import ( |
| 94 | + AppOpensList, |
| 95 | + CustomEventsList, |
| 96 | + DevicesReport, |
| 97 | + ExperimentReport, |
| 98 | + IndividualResponseStats, |
| 99 | + OptInList, |
| 100 | + OptOutList, |
| 101 | + PushList, |
| 102 | + ResponseList, |
| 103 | + ResponseReportList, |
| 104 | + TimeInAppList, |
| 105 | + WebResponseReport, |
| 106 | +) |
31 | 107 |
|
32 | 108 | __all__ = [ |
33 | 109 | Airship, |
|
51 | 127 | segment, |
52 | 128 | sms_id, |
53 | 129 | sms_sender, |
| 130 | + mms, |
54 | 131 | and_, |
55 | 132 | or_, |
56 | 133 | not_, |
|
126 | 203 | ModifyAttributes, |
127 | 204 | WebResponseReport, |
128 | 205 | ExperimentReport, |
| 206 | + KeywordInteraction, |
129 | 207 | ] |
130 | 208 |
|
131 | 209 |
|
|
0 commit comments