The example code and templates in this directory can help you get started with the Remote Data Blocks plugin. Note that many tasks can be performed in the UI without writing any code. However, other tasks require custom code, especially when you want to work with generic REST APIs or customize the block output or behavior.
These blocks communicate with APIs that do not require authentication. Uncomment lines at the end of remote-data-blocks.php to enable them. They are roughly in order of complexity, starting with the simplest.
- Zip Code block
- Art block
- Shopify Mock Store block
- Book block
- Weather block
- GitHub Markdown File block
These code templates require credentials and other customization to work. They are a useful starting point for exploration and are especially useful as context for AI agents.