Replies: 1 comment 2 replies
-
This would be a great idea! Any help in doing this would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, first of all thanks for your wonderful library!
I noticed the following:
When using methods like
search
orcategorymembers
, I need to make many repeated request to the API to get simple page information such as thepageid
.E.g. to get all page-ids in a category:
The returned lists of the methods only contain the titles as strings while the API response in the methods contain all required fields to construct a minimal
MediaWikiPage
object.What do you think about letting the methods return instances of
MediaWikiPage
instead to reduce the number of requests to the API?Beta Was this translation helpful? Give feedback.
All reactions