Been reading the wikipedia api for hours and it doesn’t make sense. I understand that you use & and some word they provide to get certain information from it and use format=json at the end of the link with the endpoint, but there are hundreds of choices and I can’t find how to get just the basic description of a page and an image for it out of the hundreds of choices to make the link to get the json page. I cheated and looked at some finished wikipedia api projects and a lot of the finished projects were using words in the links that I can’t even find on the wikipedia api pages like ‘&gsrnamespace’. I know there is a namespace options but what is the gsr?
I wouldn’t be able to get this project done without this link ‘https://en.wikipedia.org/w/api.php?action=opensearch&search=nasa&limit=19&namespace=0&format=json&formatversion=2’ which I can understand easily, but I don’t have as much control as I could with all the dozens of options shown in the wikipedia api, and I still don’t fully understand how to use the wikipedia api, its too confusing.
Who else thinks the wikipedia api is hard to use?