Commit 8d3af04
Add API for coordinates, random, search, and geosearch (#504)
* Add API for coordinates, random, search, and geosearch
* Fix failing examples
* trivial: Fix attribute validation
* Add forgotten expected outputs
* Update recorded outputs
* use coordinate objects rather than string separated values
* Use enum for namespace instead of int
* Make direction an enum
* Use more types instead of Any
* Use pages as key for coordinates API call.
* trivial: Ignore node_modules
* Introeuce type alias for Direction
* Use enums instead of strings in parameters
* Use enums in props
* Fix failing tests
* Update documentation
* Move namespace related enums to _enums.py
* Use enums as parameters
* Make it compatible with Python 3.10
* Record pages
* Add missing expected files
---------
Co-authored-by: Martin Majlis <martin.majlis+github@gmail.com>1 parent f525c56 commit 8d3af04
106 files changed
Lines changed: 11443 additions & 820 deletions
File tree
- tests
- cli
- expected
- wikipediaapi
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments