© Alex Libby 2020
A. LibbyPractical Hexohttps://doi.org/10.1007/978-1-4842-6089-0_5

5. Working with the API

Alex Libby1 
(1)
RUGBY, UK
 

Up until now, we’ve started to develop our blog by adding media, content, and the like. Developing our blog in this manner is perfect, but there may come a time when we want to take things further and – to coin a phrase – “spice things up a little.”

One way to achieve this is through the use of plugins; Hexo has an excellent plugin capability, but this might not be enough. Instead, we can take things further by making use of its API – this allows us to custom tasks or even develop plugins to help automate processes and make our lives easier.

For this chapter and the next, we’ll explore the world of the Hexo API, before ...

Get Practical Hexo: A Hands-On Introduction to Building Blogs Using the Hexo Framework now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.