Skip Navigation

Consuming APIs with Vue.js & PHP

In this series we will show you how to pull data from two APIs, SWAPI or the Star Wars API and Dark Sky a Weather API. We will be using Vue.js to make a call to a PHP and then the PHP will call the API. 




Trevor Greenleaf

Learning Outcome:

  • Call a PHP page with Vue.js
  • Pass parameters from Vue.js to PHP
  • Use very basic PHP to call multiple APIs
  • Use the basics of the Dark Sky API
  • Use the basics of the Star Wars API