Categories
Notes WordPress

Talking to Other Sites with the WP HTTP API – Topher DeRosia

Why Talk To Other Sites? Ask them questions – Getting Data Tell them things – Process Requests. How is This Done? GET – wp_remote_get() POST – wp_remote_post() HEAD – wp_remote_head() Cache API Content WordPress Sites (/wp-json) – pull public WordPress site data

Categories
Notes Programming

WordCamp GR 2017 – WP-API: The Good, the Bad, and the Ugly – J Andrew Scott

J Andrew Scott –¬†http://rubberchickenfarm.com/ History of APIs RSS Advantages Fast & reliable Easy to consume Almost no technical footprint Disadvantages Read-only Static content No authentication No user-driven content (i.e. comments, favorites, etc) DIY API Advantages Dynamic content User-driven content App & user authentication Roles & permissions based Connected applications Disadvantages DIY OAuth Redundant URI scheme […]

Categories
Programming Work

Enterprise API Development…Navigating The Battlefield

Right now at work I’m the lead on a project to establish a new vendor API. Unfortunately there were decisions made on key specifications of how the API was to be developed before it was handed to me. Where I work there is a lot of legacy standards and so it’s challenging to introduce new […]