API talk:Client Code/Access Library Comparison

From mediawiki.org
Latest comment: 10 years ago by Sharihareswara (WMF) in topic Good work

The first step of my microtask was to compare two Python libraries and make a convincing case for which was better. As I looked at the libraries on API:Client_code#Python I realized that there were two basic types and that someone who was looking for a simple wrapper might not want the layers of abstraction the more extensive libraries like pywikipediabot or mwclient offer. That said, simplemediawiki appears to be the most promising of the three simplest libraries. It is being actively maintained (last commit 9 days ago), the library includes unit tests, and the documentation is better than the others. This of course assumes that it lives up to its claims and is not full of bugs; I don't currently have the skill to evaluate that. Fhocutt (talk) 11:07, 16 March 2014 (UTC)Reply

This page needs much more detail about what I did to explore the API and the testing I've done, mostly with simplemediawiki but a little with mwclient. Fhocutt (talk) 09:57, 18 March 2014 (UTC)Reply

Good work[edit]

I think this overview and explanation is pretty good! It shows what you explored, explains why one of the libraries is the best, and helps us see how to use the best library.

One tiny nitpick; I think that when you say that one particular API request is possible with Wikidata but not MediaWiki, I think you mean MediaWiki.org specifically. Sharihareswara (WMF) (talk) 23:54, 23 March 2014 (UTC)Reply