File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,19 +4,19 @@ python ics to json lib
44Basic Useage
55---------
66``` python
7- import icson
7+ import jicson
88
99# read from file
10- json = icson .fromFile(' ./basic.ics' )
11- print (json )
10+ result = jicson .fromFile(' ./basic.ics' )
11+ print (result )
1212
1313# read from text
14- json = icson .fromText(icsText)
15- print (json )
14+ result = jicson .fromText(icsText)
15+ print (result )
1616
1717# read from web
18- json = icson .fromFile(url, auth = base64_authtoken)
19- print (json )
18+ result = jicson .fromFile(url, auth = base64_authtoken)
19+ print (result )
2020
2121```
2222
@@ -121,7 +121,7 @@ this ics file to above json
121121 "LOCATION" : " " ,
122122 "SEQUENCE" : " 0" ,
123123 "STATUS" : " CONFIRMED" ,
124- "SUMMARY" : " 종현이형 " ,
124+ "SUMMARY": "약속1 ",
125125 "TRANSP" : " OPAQUE" ,
126126 "X-APPLE-TRAVEL-ADVISORY-BEHAVIOR" : " AUTOMATIC"
127127 },
@@ -136,7 +136,7 @@ this ics file to above json
136136 "LOCATION" : " " ,
137137 "SEQUENCE" : " 0" ,
138138 "STATUS" : " CONFIRMED" ,
139- "SUMMARY" : " 순호집방문 " ,
139+ "SUMMARY": "약속2 ",
140140 "TRANSP" : " OPAQUE" ,
141141 "X-APPLE-TRAVEL-ADVISORY-BEHAVIOR" : " AUTOMATIC"
142142 },
@@ -151,7 +151,7 @@ this ics file to above json
151151 "LOCATION" : " " ,
152152 "SEQUENCE" : " 0" ,
153153 "STATUS" : " CONFIRMED" ,
154- "SUMMARY" : " 김광호 강남 " ,
154+ "SUMMARY": "약속3 ",
155155 "TRANSP" : " OPAQUE" ,
156156 "X-APPLE-TRAVEL-ADVISORY-BEHAVIOR" : " AUTOMATIC"
157157 },
You can’t perform that action at this time.
0 commit comments