intelligent-utilities/random-wikipedia-article

Get a random wikipedia article

Public
9 runs

Run intelligent-utilities/random-wikipedia-article with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
language
string
en
Wikipedia language code (e.g., 'en', 'es', 'fr')

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "object",
  "title": "Output"
}
Example API response
View prediction
{'description': 'Sporting event delegation',
 'image_url': 'https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Flag_of_Bulgaria.svg/1000px-Flag_of_Bulgaria.svg.png',
 'language': 'en',
 'page_id': 58492812,
 'summary': 'Bulgaria competed at the 2020 Summer Olympics in Tokyo. '
            'Originally scheduled to take place from 24 July to 9 August 2020, '
            'the Games were postponed to 23 July to 8 August 2021, due to the '
            'COVID-19 pandemic. Bulgarian athletes have appeared in every '
            'edition of the Summer Olympics since 1924, except for three '
            'occasions: the 1948 Summer Olympics in London, and the 1932 and '
            "1984 Summer Olympics in Los Angeles because of Bulgaria's actions "
            'in World War II and the worldwide Great Depression and Soviet '
            'boycott, respectively.',
 'thumbnail_url': 'https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Flag_of_Bulgaria.svg/330px-Flag_of_Bulgaria.svg.png',
 'title': 'Bulgaria at the 2020 Summer Olympics',
 'url': 'https://en.wikipedia.org/wiki/Bulgaria_at_the_2020_Summer_Olympics'}