prevent making thousands of calls to the API from web page? Is there a better way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to display the analytics for observees to the observers. On the observers page >
```
``` in order to do so the api calls that I would need to call are:
```
```
I am using the fetch api to get the information:
```
```
and then innerHTML to display information fetched.
Is there a better approach to this?
I feel like I am going to breeze through our API cap or something.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, @jsimon3 Welcome to the Canvas Community! We notice that you've posted this exact question to two different places. You probably don't realize that you only have to post a question one time, and you can then share it out to any other group of which you're already a member.
So we're going to ask people to post their responses to https://community.canvaslms.com/message/158902-prevent-making-thousands-of-calls-to-the-api-from-web... , and we've shared that one into this group on your behalf. We have locked this question to prevent duplicate/parallel threads from developing.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.