{"id":241251,"date":"2014-10-14T13:54:24","date_gmt":"2014-10-14T17:54:24","guid":{"rendered":"https:\/\/2014.toronto.wordcamp.org\/?post_type=wcb_session&#038;p=241251"},"modified":"2014-11-03T13:15:25","modified_gmt":"2014-11-03T18:15:25","slug":"integrating-wordpress-with-external-apis","status":"publish","type":"wcb_session","link":"https:\/\/toronto.wordcamp.org\/2014\/session\/integrating-wordpress-with-external-apis\/","title":{"rendered":"Integrating WordPress with External APIs"},"content":{"rendered":"<p>With <a href=\"https:\/\/2014.toronto.wordcamp.org\/speaker\/aaron-campbell\/\" title=\"Speaker info\">Aaron Campbell<\/a> in the <a href=\"\/track\/advanced-developer\" title=\"Advanced Developer track listings\">Advanced Developer<\/a> track<\/p>\n<p>WordPress is amazing, flexible software, but it doesn\u2019t do everything. Facebook, PayPal, MailChimp, Basecamp, slideshare, and Google Maps are just a few examples of places that are already doing something well, and you can integrate your WordPress site with them through their APIs. However, there are right and wrong ways to do this, especially if you want to distribute your solution to others. I start from the beginning, introducing people to the WordPress HTTP library helper functions, then bring lots of code examples from my plugins show start to finish how to integrate the right way.<\/p>\n<h2>Learning outcomes<\/h2>\n<ul>\n<li>Leverage the HTTP api to handle external integrations<\/li>\n<li>Listen for notifications from other sites<\/li>\n<li>Cache data received from an API<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>With Aaron Campbell in the Advanced Developer track WordPress is amazing, flexible software, but it doesn\u2019t do everything. Facebook, PayPal, MailChimp, Basecamp, slideshare, and Google Maps are just a few examples of places that are already doing something well, and you can integrate your WordPress site with them through their APIs. However, there are right &hellip; <a href=\"https:\/\/toronto.wordcamp.org\/2014\/session\/integrating-wordpress-with-external-apis\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Integrating WordPress with External APIs<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":7390768,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1416173400,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[241001],"footnotes":""},"session_track":[27765],"session_category":[],"class_list":["post-241251","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-advanced-developer"],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"session_date_time":{"date":"November 16, 2014","time":"4:30 pm"},"session_speakers":[{"id":"241001","slug":"aaron-campbell","name":"Aaron Campbell","link":"https:\/\/toronto.wordcamp.org\/2014\/speaker\/aaron-campbell\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/toronto.wordcamp.org\/2014\/wp-json\/wp\/v2\/sessions\/241251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toronto.wordcamp.org\/2014\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/toronto.wordcamp.org\/2014\/wp-json\/wp\/v2\/types\/wcb_session"}],"author":[{"embeddable":true,"href":"https:\/\/toronto.wordcamp.org\/2014\/wp-json\/wp\/v2\/users\/7390768"}],"version-history":[{"count":1,"href":"https:\/\/toronto.wordcamp.org\/2014\/wp-json\/wp\/v2\/sessions\/241251\/revisions"}],"predecessor-version":[{"id":241259,"href":"https:\/\/toronto.wordcamp.org\/2014\/wp-json\/wp\/v2\/sessions\/241251\/revisions\/241259"}],"speakers":[{"embeddable":true,"href":"https:\/\/toronto.wordcamp.org\/2014\/wp-json\/wp\/v2\/speakers\/241001"}],"wp:attachment":[{"href":"https:\/\/toronto.wordcamp.org\/2014\/wp-json\/wp\/v2\/media?parent=241251"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/toronto.wordcamp.org\/2014\/wp-json\/wp\/v2\/session_track?post=241251"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/toronto.wordcamp.org\/2014\/wp-json\/wp\/v2\/session_category?post=241251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}