I've been trying to understand the MediaWiki documentation for the past 2 days and I can't figure out how to retrieve the first paragraph of a Wikipedia article through the MediaWiki API.
Could someone point me to the right direction?
I am about to appeal to file_get_contents, but I'm confident there's a "cleaner" solution.