issues
search
Builditluc
/
wiki-tui
A simple and easy to use Wikipedia Text User Interface
https://wiki-tui.net/
MIT License
405
stars
14
forks
source link
Create Api Handler
#147
Closed
Builditluc
closed
1 year ago
Builditluc
commented
1 year ago
Linked Issues
#143
Changes made:
feat: add mediawiki api struct with search working
feat: implement article_from_title for api handler
refactor: use map() for retrieving the article sections
feat: implement article_from_id for api handler
feat: implement search_at_offset for api handler
refactor: remove Search::origin and make result structs from api handler public
style: clean up the search offset fetching in search_from_json
refactor: create helper function for creating a query
Changes made: