Board Thread:Support Requests - Getting Technical/@comment-37769471-20181209231359/@comment-37769471-20181210073304

Hi, Yes this post it related the the  thread.

I found the API call through the documentation; articles > 'Get the top articles by pageviews for a hub'.

I made the call for all hubs: Games, Lifestyle, Movies, TV, Comics, Books, Music, and Other, as well as use the two namespaces 110 and 1. I get error when setting the language, however with e.g. Games 110 (http://www.wikia.com/api/v1/Articles/TopByHub?hub=Games&namespaces=110) i get:

{ "items": [ { "wiki": { "id": 691244, "name": "Old School RuneScape Wiki", "language": "en", "domain": "http://oldschoolrunescape.wikia.com" }, "articles": [ { "id": 1481, "ns": "110" }, { "id": 121614, "ns": "110" }, ...

I get the same result when using:

http://www.wikia.com/api/v1/Articles/TopByHub?hub=Movies&namespaces=110

http://www.wikia.com/api/v1/Articles/TopByHub?hub=TV&namespaces=110

http://www.wikia.com/api/v1/Articles/TopByHub?hub=Comics&namespaces=110

http://www.wikia.com/api/v1/Articles/TopByHub?hub=Books&namespaces=110

http://www.wikia.com/api/v1/Articles/TopByHub?hub=Other&namespaces=110

though differet with Music and Lifestyle.

Can I use the MediaWiki to find articles? - or I'm not sure what you mean.

P.S. No I'm not a Bot, was told there was an error and to try later every time I tried to make the post.. So assumed only the last one was posted, since I did not get an error on this. I will dobbletjek in the future,