[Solved] Parsing definitions in json format from Wikipedia API in php [closed]


Which parameters did you use in your request?

You can take this as an example:
https://en.wikipedia.org/w/api.php?action=opensearch&search=PHP&limit=1&format=json

You said there that you want only the first definition, so you can put limit=1. The response is in json.

1

solved Parsing definitions in json format from Wikipedia API in php [closed]