Random API Generator

Опис

Add a fun developer utility to your site. Each click draws a curated random public API inspired by weekly selections on https://www.freepublicapis.com/ and shows:

  • API name, category, and summary
  • A copyable endpoint URL
  • Sample JavaScript and WordPress PHP snippets

Features:
– Gutenberg block and [randapigen_api_generator] shortcode
– Admin setting to restrict categories
– Local favorites (browser localStorage)

Скріншоти

Блоки

Цей плагін надає 1 блок.

  • Draw me an API Button that draws a random public API and shows snippets.

Встановлення

  1. Upload the plugin folder to /wp-content/plugins/ or install via the Plugins screen.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Optional: Go to Settings Random API Generator to select allowed categories.
  4. Add the block “Draw me an API” or the [randapigen_api_generator] shortcode.

Часті питання

Where does the data come from?

From a curated built-in list inspired by https://www.freepublicapis.com/. You can filter categories in Settings.

Does it store personal data?

No. Favorites are stored locally in the visitor’s browser.

Відгуки

Для цього плагіна немає відгуків.

Учасники та розробники

“Random API Generator” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “Random API Generator” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

1.0.0

  • Initial release.