ios module for Calendar
I've done a search of the forum, and I can see that back in 2012 there was a suggestion that there may be an ios specific module to get access to the Calendar and calendar events. I can see in the release notes for the 1.6 beta, that this still isn't the case, but i was wondering if there was a specific reason for this?
I am writing a bunch of metric scripts to execute over a calendar. (hours in meetings, hours by type etc). at the moment I am exporting my outlook calendar to a webdav server and then using the icalendar python library to parse and process the calendar (ics file). I would much prefer having the ability to script this directly on my ipad (where my calendar is accessible).
Anyway, just thought i would ask :-)
The new workflow app should can access the calendar. And you can use it with pythonista. ($3)
Still though, would be nice to have an integrated module, especially if you aren't willing to put up more money.
Yeah. Certainly. I think the quality of pythonista and Editorial are far superior. More modules for both would be nice.
The workflow app does let us see which APIs are open, so it is possible. I it makes its way in.
Funny, I just finished a script yesterday which would parse and import my uni timetable into my iPad's calendar via Pythonista. I used the icalendar module to create the .ics file (it can be imported into Pythonista, just download it from pypi and throw it into the site-packages folder in pythonista) and then I used a simple server to host the .ics file on localhost and pythonista's webserver.open() to import it directly into the calendar from pythonista. You can also use pythonista's console.quicklook() to view the .ics file and e-mail it to yourself which allows you to import any events in it on an individual basis unlike the webserver method that just straight up imports them all. The script I wrote covers all of this and you can find it <a href='https://github.com/HeyItsJono/csesoc-website-v2/blob/master/app/timetable/ical_generator_gui.uipack.py'>here.</a>
Just make sure there's a file called 'UNSW.ics' in the same folder as the script and use fake credentials like 'test' for both the username and password on the details screen. When you get to the import screen, pressing import will detect that there's an existing calendar file in the directory and let you bypass the part that actually requires real credentials at my uni since I'm guessing you don't have those.