Apraksts
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)
Bloki
Šis spraudnis nodrošina 1 bloku.
- Draw me an API Button that draws a random public API and shows snippets.
Uzstādīšana
- Upload the plugin folder to
/wp-content/plugins/or install via the Plugins screen. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Optional: Go to Settings Random API Generator to select allowed categories.
- Add the block “Draw me an API” or the
[randapigen_api_generator]shortcode.
BUJ
-
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.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Random API Generator” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Random API Generator” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.0.0
- Initial release.


