Postcards From My Life

Lint I find in my mind's belly-button.
  • EPK
  • Consulting
  • Resume
  • Nerd Herding
  • Talks
  • How to Plan a Website
  • Zend Framework

Posts Tagged ‘apis’

API Wrappers updated

Monday, February 13th, 2012

Dear Reader,

Today I spent some time updating my API Wrapper repo on GitHub. This is a simple series of wrappers written in PHP for APIs I find interesting or have decided to play with.

Today’s additions are:

  • GoodGuide.com integration

    Mashery adds new APIs to their family on a regular basis and occasionally I go out there and look at what is available and what looks interesting to me. GoodGuide.com looks interesting. The wrapper gives you a simple interface to make a call to their library. Like the other API wrappers in the collection, it returns you a SimpleXML object to do with as you see fit.

    If you are going to play with this one then you need to register and get an API key. The README.markdown has a sample snippet of code to get you started and their developer docs don’t suck.

    Drop me an email if you want my complete GoodGuideTest.php. it’s not really a test suite, but it lets me play with it.

  • Transport_File

    So it seems that PHP 5.4 RC3 on Windows is not complied with curl natively. I took this as a sign that it was time to write another transport. (Yeah, I could have enabled the DLL, where’s the fun in that?) Transport_File operates just like Transport_Curl, you call it with the URL, parameters and the method to use and it does the rest. I’ve got some testing to do on it but it works fine for simple GET calls.

    My goal with Transport_File is to get it fully compatible with all 4 major HTTP verbs so that it will be interchangeable with Transport_Curl.

If you play with APIs for fun, please fork this and help me test them; pull requests are always welcome. :)

Until next time,
I <3 |<
=C=

Tags: apis, goodguide, mashery
Posted in PHP, Programming | Comments Off

 
  • Friends of mine

  • My Latest Book


    Avoiding a Goat Rodeo

  • Follow me on twitter!

  • RSS PHP Podcasts

    • Episode 7: Web Sockets Are Fast
    • Better Documentation for PHP internals – Lately in PHP podcast episode 35
    • Episode 31: Feline Tooth Extraction
    • Episode #2 – Adam Culp
    • Episode 6: PSR-X and the Mexican Standoff
    • Episode 109: Typescript and a bit more…
    • A Better PHP Feature Voting Process – Lately in PHP podcast episode 34
    • Episode 30: It’s Episode 30, you guys
    • PHP Innovation Award Winner of 2012 – Lately in PHP podcast episode 33
    • Episode 29: Snappy Answers to Stupid Questions

  • Me, elsewhere on the Web

    • Best web design company
    • Cal Evans Dot Com
    • Cyrano’s Apprentice
    • Evans Internet Construction Company
    • My Life as a Child
    • PHP Podcasts

  • Categories

    • Apache
    • BlogBling
    • Blogging
    • Book Review
    • codeworks
    • Entertainment
    • Entrepreneurship
    • Flex
    • Humor
    • JavaScript
    • Long Form
    • Management
    • Marketing
    • Me, elsewhere on the Web
    • PHP
    • podcasting
    • Programming
    • SQL
    • Technology
    • Web 2.0
    • wordpress
    • WordPress Plugins
    • writing
    • zend framework


Postcards From My Life is proudly powered by WordPress
Entries (RSS) and Comments (RSS).