Import text to Wiki
I use Redmine to keep track of tasks around the house. I would like to have a list of library books with their due dates inside Redmine.
Right now, I have a Python script that can pull the list of due dates from the library website. It runs once a day at midnight. What I can't figure out is how to get this information into Redmine. I can easily have the script generate a Redmine-Wiki-formatted table, or otherwise format the output in whatever way is most convenient. What I can't figure out is how to get this text into my Redmine project. Ideally I'd like it to appear as a Wiki page, but I am flexible. All I really want is for the titles to be hidden behind the Redmine login rather than posting it as an external html page.
I am also open to the option of importing each book as a new issue, though I would want to make sure I don't end up with duplicates. Is there a way to automate this, so a file of issues is imported daily?
Sorry for this very basic question -- I have done a lot of searching, but I must be missing the important search term for something so basic. Is there a way?
RE: Import text to Wiki - Added by Mayama Takeshi 2 months ago
have you checked the Redmine REST API?
There are methods to create/update wiki pages:
Same for Issues:
RE: Import text to Wiki - Added by Mark G 2 months ago
That's it, perfect! Thanks very much, and sorry for not finding this myself.