On Tue, Sep 5, 2023 at 4:15 PM Tobias Schweizer <tobias.schweizer@switch.ch> wrote:

Hi David,

 

Thanks a lot for your answer.

We can now obtain all required data like this: https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q78&format=json

The result contains the labels organised by language tags and geo data (P625) that we need as well. This is great!

 


Glad to hear that this API suits your needs.
 

{"messageTranslations":{"en":"The requested relative path (/w/rest.php/oauth2/access_token) did not match any known handler"},"httpCode":404,"httpReason":"Not Found"}

 

Any idea what I am doing wrong?


I'm not knowledgeable enough to assist you with this problem, I'd suggest asking your question to the wikidata [0] or wikidata-tech [1] mailing-lists.

David.

0: https://lists.wikimedia.org/postorius/lists/wikidata.lists.wikimedia.org/
1: https://lists.wikimedia.org/postorius/lists/wikidata-tech.lists.wikimedia.org/