I almost have Serde working with JSON.
I still need to figure out how to get the information out of the message sent by the mediawiki api.
The problem there is how the API sends information verse how I know how to parse it with Serde. I am currently using a method for parcing which requires telling the program what each level of JSON is. The mediawiki api puts the page ID number in a level above all the information I need. The ID number would change with every diffrent search. You may be able to see how that would be a problem.
Need to figure that one out. And I need to then make the TUI that displays the text. And I should figure out what to do if the program comes back with more than one page. And I need to figure out how I want to display the flags. Probably with ratatui-image, its just a matter of getting it to work with everything else. The only working instance of it I have is in a sub command of PRTGN dedicated to displaying an image (PRTGN_Fox).
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.