Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building Bots For Fun And (No) Profit - WPDSM

Building Bots For Fun And (No) Profit - WPDSM

Lightning talk building bots with the WordPress REST API as a platform for content.

Blog Posts On Topic: https://heykramer.com/blog
WordPress Plugins: https://heykramer.com/wpcode
Node.js Bot Code: https://heykramer.com/botcode
Explore Custom REST API: https://heykramer.com/api

Andy Brudtkuhl

April 27, 2016
Tweet

More Decks by Andy Brudtkuhl

Other Decks in Programming

Transcript

  1. WordPress WP Theme Facebook Slack Node.js WordPress REST API (+

    extensions ) Twitter Request Response Traditional
  2. Why Extend REST API • WP REST API has a

    predefined data structure and response that may not work for you • Custom Endpoints allow custom queries • Include more data like custom fields in query and response
  3. ALL THE LINKS • heykramer.com/api
 API Definition, Auto Discovery •

    heykramer.com/wpcode
 WordPress Code • heykramer.com/botcode
 Node.js Code • heykramer.com/blog
 Blog post about building everything