I'm having a hard time finding a code example for what i'm looking to do and was wondering if anyone might be able to help me out.

I'm wanting to write a script thats run daily by cron that calls a url that returns json data. I'm only wanting a small section of this data, the rest is useless.

I want to take that data and store it in a mysql database table for further manipulation.

I can't seem to find any examples.

Anyone able to offer any assistance? Or any ideas on where to look?