20140202

Playing with the Marvel API in PHP

This sunday afternoon I've been trying the new marvel.com API.

As a huge fan of the house of the ideas I think this can be a great tool for developers around the world.

If you're new to the API you must connect to marvel developers developer.marvel.com and sign in and request an API key.

Once you get your private and public keys you can try the API, there are methods for getting comics, characters, creators and much more.

You can use this little sample to see the working of the API if you're a PHP coder.

You can see a live demo here marvel.omatech.com this simply shows 100 characters per page and let you select the page in the top links, you can browse all the Marvel characters in only 40 lines of code.