- This topic is empty.
June 24, 2013 at 5:06 pm #45804
I’m having trouble wrapping my ahead around grabbing data from this API. What I’m basically trying to do is grab the latest movie I’ve watched and output it. Are there any resources to understand how to go about this or any guidance?
Also, is PHP 5.5 safe to use? My host said that they’re using 5.3 since 5.4 isn’t that stable.June 24, 2013 at 6:01 pm #140155
>What I’m basically trying to do is grab the latest movie I’ve watched and output it.
It looks like you’ll have to get the complete list and pull the last one listed yourself.
>is PHP 5.5 _[sic;?]_ safe to use? My host said that they’re using 5.3 since 5.4 isn’t that stable.
Your host just doesn’t want to upgrade. The only semi-legitimate reason is that there are some backwards-incompatible changes (all things you _shouldn’t be doing anyway…!_) and they don’t want any of their clients to think that they “broke their website.”
However, there is _no_ reason not to let people “opt-in” to 5.4.
`5.4` is the current stable release. It is perfectly safe to use (safer than 5.3, in fact). It is also **awesome**; I highly recommend you [find a host that allows you to] upgrade.June 24, 2013 at 6:31 pm #140165
@CrocoDillon Ah, thanks for looking into that. I would have wasted my time.
> It looks like you’ll have to get the complete list and pull the last one listed yourself.
Yeah, I figured that. Just don’t know how to connect to the API. I was looking for a tutorial that shows steps on how to do it or are all API’s different in the way they go about it?
> However, there is no reason not to let people “opt-in” to 5.4.
They do allow us to use whatever version we want by specifying it somewhere in one of our files. I forgot what I have to add to starting using 5.4 but it is possible. What about 5.5 that was just released a few days ago?June 24, 2013 at 6:52 pm #140173June 24, 2013 at 7:11 pm #140175
@CrocoDillon Thank you very much. Where did you learn to do that?! That’s why I’m trying to figure out so I don’t have to ask these questions in the future.June 24, 2013 at 7:25 pm #140195June 24, 2013 at 7:26 pm #140196
>What about 5.5 that was just released a few days ago?
Ah – I wasn’t sure if that was a typo or not. No, I wouldn’t recommend 5.5 yet. It’s for the adventurous; it’s not done yet. (Though it looks like it’ll be pretty cool once its ready.)
>I think you’ve mentioned that Kirby has some issues with 5.4 at the moment.
Yeah, I forgot about that. Actually looks like it was fixed (not sure when; I can’t find the version log. But I just tried 1.1.2-13 and t seems to work :D ).June 24, 2013 at 7:32 pm #140197June 24, 2013 at 8:13 pm #140201June 24, 2013 at 9:35 pm #140211TheDocMember
@chrisburton all of your questions are getting such thoughtful responses, full of information. Learning a lot from them, keep ’em coming!June 24, 2013 at 9:58 pm #140214
@TheDoc You don’t want to encourage me like that. Ha. My questions would fill up two pages on this forum.
Just trying to get data for my about page so I can finally release this thing. Thanks for the support.June 24, 2013 at 10:02 pm #140215
>Awesome. I’ll update to 5.4.
Read the [migration guide](http://www.php.net/manual/en/migration54.php) first.June 24, 2013 at 10:28 pm #140217June 25, 2013 at 2:08 am #140238
*this is solved*
I’ll upload a screencast tomorrow on what I’ve been up to with this API and the data from my previous discussion.June 25, 2013 at 2:37 pm #140338
- The forum ‘Back End’ is closed to new topics and replies.