Solution: What are the limitations on OSM API queries?

Development | Web Development
Description
Are there any restrictions on the number of requests per time t to the OpenStreetMap API(requests per minute/hour/day)?
Attachments
No attachments
Solutions
Description
No problem..


function getQueue(queue_id) {
  return new Promise(async(resolve, reject)=>{
    /* Here I make a request to api point * /
    if(statusCode == 2) {
      reject();
    } else {
      await getQueue(queue_id);
      /* That's exactly where you need to call the same function recursively * /
    }
  });
}



on April 28th, 2020 (10:20 pm)
All coments
This solution has not been commented yet.
You must sign in to comment!! LOGIN
We use cookies to give you the best possible experience on our site. By continuing to use the site you agree to our use of cookies. Find out more Accept