I have several external APIs which I'd like to use - such as this one: http://www.pinnaclesports.com/apimanual/commands.aspx
The scripts I want to create will use the HttpSocket class (to get the data via API) and some model classes such as Match (to save the data in my DB).
The scripts should be run by CRON (and I guess it should be accessible manually as well).
Now the question is where in the structure of cakePHP should I put my scripts that get data from the API and save them?
(I think it is not exactly a plugin and I don't want to create another model either - because all my models are mapped to a DB table and the API wouldn't be.)
Thanks a lot!
-- Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
No comments:
Post a Comment