Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8312805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T20:16:52+00:00 2026-06-08T20:16:52+00:00

I really hate to ask these vague questions, but I could use some help

  • 0

I really hate to ask these vague questions, but I could use some help figuring out the best method to go about this idea.

What I’m doing is fairly simple. I’m creating a page that will display data from several sportsbooks as accurately as possible. There are several different sites, all with their own APIs, but the data is the pretty much the same. Some of them have restrictions on the number of times they can be accessed per day so I’m trying to figure out how to go about that.

Because of the whole cross domain issue with JavaScript, I was looking into setting something up with PHP to retrieve the data locally. Would it be possible for a script to access each API say 4 times a day at certain times, parse the data locally and then serve it up with AJAX or something else?

Would it make sense to store the data in a MYSQL database and then query it? What I’m looking to do seems as simple as displaying live XML data, I just need to figure out a way not to exceed the API calls for the day. I’m fairly new to server side code in general so I apologize if this is blatantly obvious.

If anyone has any ideas, I would greatly appreciate it.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T20:16:54+00:00Added an answer on June 8, 2026 at 8:16 pm

    You need indeed to store data locally. It can be either a database or files.

    The set-up would go like that:

    • Have a PHP script that would

      1. Fetch the data associated to an API
      2. Store that result in a cache file
    • Have a CRON job that would run the above script 3 times a day

    • Have a frontend php page that will display the content of the cache files.

    If your server gets overloaded, you might consider caching the frontend php file to a static html file each time an API gets refreshed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I don't see how this is possible, but I really, really hate to run
Really basic question I'm sure for some of you Java heads out there. I
I hate to ask this question on this forum, but I'm having a lot
Visual studio is ok, but i really hate the fact that you have to
I am trying to learn about SQLite databases, but I really hate dealing with
I really HATE to ask this because I thought this is supposed to be
I really hate global variables - maybe its the C# programmer in me but
I'm using Rake to generate RDoc documentation for my project, but I really hate
I really hate to ask this question, because it seems like it's been asked
I hate the OK/Cancel dialogs, because if my application ask somebody if (s)he really

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.