Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please show more examples on usage #51

Open
emdete opened this issue Feb 1, 2022 · 5 comments
Open

please show more examples on usage #51

emdete opened this issue Feb 1, 2022 · 5 comments
Assignees

Comments

@emdete
Copy link

emdete commented Feb 1, 2022

Please add some code examples on how to use the structure after parsing to retrieve the usual information. i am not an ical expert and couldnt find out how to get the data from a parsed ical (my start time is zero for all values ;) )

@arran4 arran4 self-assigned this Feb 1, 2022
@arran4
Copy link
Owner

arran4 commented Feb 1, 2022

I've been thinking the same thing. I originally wrote this internally for a booking and planning system it was bare minimum and very much dependent on knowledge. I was meaning to add higher level utility functions too for your use case.

@emdete
Copy link
Author

emdete commented Feb 2, 2022

just some sample code (more tests would be a help too) would do, i see alot of editing ical after reading/parsing but no simple parse, get summary and description, get start and endtime, get organizer and attendee, ... that would be sufficient for me.

i admit i am not an ical, ics, vobject, .. expert, in fact i dont like that format ;) and maybe its just some lazyness here that i ask for code samples for cut&paste programming? ;)

@arran4
Copy link
Owner

arran4 commented Feb 9, 2022

I think part of the problem is that this is such a low level library. I always intended to produce a "util" project which uses this. However circumstances haven't aligned with that.

Eitherway I will keep this open for when it fits.

@emdete
Copy link
Author

emdete commented Feb 21, 2022

can you give some sample code how to extract the most important fields?

@arran4
Copy link
Owner

arran4 commented Feb 21, 2022

Hi @emdete , I will get around to fulfilling this ticket. However I am working on something else right now. I don't have any examples, so I would have to make them up from scratch. (I am not an active user of the library.)

The library is just a basic parsing library for https://www.ietf.org/rfc/rfc2445.txt so in the mean time some examples there might help. I do plan a major documentation update to the project.

In the mean time is there anything else I could do to help you get around what is currently blocking you on your project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants