How to limit the number of search query in "Bing Search - Cognitive Services"? - bing

I need to limit the number of search queries in my subscription for Bing Search API v5.0. I don't want to exceed the number of query allowed in the subscription.
Is there any way to do this ?

There currently is not a way to limit or set caps for your subscription allowance. You can monitor your usage through the Azure portal. This request is on our backlog of requested features. Thank you.

Related

View user group limitation

We have a number of groups that come from Azure Active Directory.
Some groups contain more than 200 Users but the total is limited to 200.
Where can I set that all users are visible in the group so more than 200
This is by design a currently only a design limitation.
Azure DevOps UI will only list the first 200 members of an AAD group.
The limitation is only in what members we display, it does not impact the actual permission assignment. If you need to find the related user, you should search on the specific user directly.
I can fully understand your requirement, I suggest that you can create a suggestion ticket in the Developer Community.

Sendgrid free plan limited to 100 emails per day or month?

I'm using Sendgrid's free plan and it clearly states on their website that the limit is 100 daily; not monthly, yet I get capped at 100 for the entire month.
I read elsewhere that I needed to go to Settings > Account Details > Your Products > Start Trial to Send More, but I can't seem to find the "Start trial" option under the "Your Products" tab, or anywhere else for that matter.
Am I blind?
The Free Email API plan is 100/day. If you believe you are being incorrectly capped at 100/month, I'd reach out to their support team so they can check your account for limit accuracy and check sending volumes to confirm or troubleshoot the issue.

How to Check Remaining Quota for Bing Web Search API v5.0

I'm trying to find the way to check remaining monthly quota for Bing Web Search API v5.0 , against my specific Api Key xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
i previously doing this for v2 apis .
I want to know if there's any way to find this.
Are you using a trial key from microsoft.com/cognitive? If so, you would normally go to your subscriptions page (after you sign in to the site with your Microsoft account) to check your remaining quota: https://www.microsoft.com/cognitive-services/en-US/subscriptions.
Note that unfortunately, at the moment, the show quota functionality is currently unavailable as you can see from the banner on the top of the page.
Edit: The option to show the remaining quota for the month is available again in the subscription page.

Does Facebook have a maximum number of API connections?

If the answer is yes, then what is it?
By maximum number of connectioned allowed per application I mean how many instances of the same api/key can be used to get the friends list at any one time, will Facebook block too many requests?
EDIT I have been looking at http://developers.facebook.com/ but have not been able to find the answer to my question there.
From their Policy
If you exceed, or plan to exceed, any of the following thresholds please contact us as you may be subject to additional terms: (>5M MAU) or (>100M API calls per day) or (>50M impressions per day).
The only information I was able to find is something in a forum.
http://www.quora.com/Whats-the-Facebook-Open-Graph-API-rate-limit
After some testing and discussion with the Facebook platform team,
there is no official limit I'm aware of or can find in the
documentation. However, I've found 600 calls per 600 seconds, per
token & per IP to be about where they stop you. I've also seen some
application based rate limiting but don't have any numbers.
As a general rule, one call per second should not get rate limited. On
the surface this seems very restrictive but remember you can batch
certain calls and use the subscription API to get changes.
You can see how many API requests your users can have a day if you go to your Insights page and click on "Diagnostics". You can also see some other request statistics if you click on "Performance".
http://www.facebook.com/insights

Get User Count for a Google Apps Domain

How do you get the total number of users in a Google Apps Domain? I'm aware of the "Retrieve All Users in Domain" call using the Google Provisioning API, but I'd rather not execute such an intensive call just to count up all the users. Is there a simpler way to do this?
I found a solution that isn't as resource-heavy as retrieving all users: The Google Reporting API can be used to get the total number of accounts in a Google Apps domain.
The Google Apps Admin Settings API allows you to retrieve both the current and maximum number of users in the domain:
https://developers.google.com/google-apps/admin-settings/#retrieving_the_current_number_of_users_in_a_domain
this would be preferable to the reports API as it's both lower in traffic and it's closer to real time (reports are only updated every 24 hours so it won't take into account users recently added).
You could try "Retrieve All Nicknames in Domain" which could save some bandwidth as it hopefully really only retrieves the nicknames, although I think this won't get you the exact count because "Retrieve All Nicknames for a User" seems to imply that a user can have multiple nicknames.
If you've got some test domain, also assure that retrieving all users really is too much overhead and keep in mind that depending on what you want to do, you can perhaps build some kind of cache around it that only does a full request after the cache is older than X.