How to get Google Cloud Translation used Chars via API?G - api

how do i get information from this page 'https://console.cloud.google.com/iam-admin/quotas' programmatically, i couldn't find any API service to do this, is there a way to do it?

Currently, this is not possible to achieve, however, there's a feature request to consider having this functionality.

Related

How to call Google NLP Api from a Google Chrome extension

My aim is to select some text from a web page, start a google chrome extension and give the text to a google cloud api (Natural Language API) in my case.
I want to do some sentimental analysis and then get back the result to mark/ highlight positive sentences in green and negative ones in red.
I am new to this and do not know how to start.
The extension consists of manifest, popup etc. How should I call an API from there that does Natural Language Processing?
Should I create a Google Cloud Application with an API_KEY to call? In that case I would have to upload my credentials right?
Sorry sounds a bit confusing I know but I just don't know how I can bring this 2 things together an would be more than happy about any help
The best way to authenticate your app will depend on the specific needs and use cases of your application. You can see an overview of all the different methods here.
If you are not planning on identifying users nor on using a back end server that handles authenticating (as I assume to be your case), the best option would indeed be to use API keys. They do not identify the user, but are enough for the Natural Language APIs.
To do this you will need to create an API key for the services you want and add the necessary restrictions to make the key as secure as possible. Detailed instructions on how to do this and how to use the key in a url can be found here.
The API call could be made from within the Chrome extension with any JavaScript method capable of performing POST requests. For example using XMLHttpRequest or the Fetch API. You can find an example of the parameters that need to be included in the request here.
You may run into CORS issues when making the request directly from the extension. I recommend reading this answer, where a couple of workarounds for these issues are suggested.

Connecting to an API using Power Bi

I am trying to connect to an API using Power BI. I am doing this by clicking on the Get Data then choosing Web, typing the URL address of the site. It comes with the list of API links created when I drill to any of them I cannot see anything. Is this the correct way of doing it? Many Thanks for your help
For querying REST APIs, that's the correct way of doing it yes. But in your case, it might be an issue with the API itself or that you need more details in the query? It's hard to troubleshoot without vieweing the API documentations.
If you then press on Advanced, you can then include further details for your request if needed.
I will include some screenshots below of how to choose the Web connector.

Firebase searching for records via REST

I have been getting to grips with the Firebase REST API, but unfortunately can't seem to find a way to search for a record via name, email etc. I see that this may be possible using the JS interface.
Can you tell me if there is a way to do this via REST?
Thanks Frank, it seems NodeJS is the only way to go.

DFA Reporting API - get data directly from API

I've been looking and searching for quite a while on https://developers.google.com/doubleclick-advertisers/reporting/v1.3/. What I'm trying to find is a way to directly get the data via the API. Is this possible?
As far as I can see you can create reports, run this report which generates a file and then get the download url to the file with the actual data in it. Is it not possible to directly get the data through the DFA reporting API?
No! I don't think it is. As far as I know the API is more like a programmatic recreation of the web interface. It doesn't operate like I'd expect an API to work.

find another API instead of google map API

I'm developing an application which use map. I'm trying to avoide google API (because their request time are limited).
I want something complete free but can provide feature like geocoding, reserve-geo, find nearest place ...
Any suggestion ?
Have you looked at geonames? They are using googlemaps as well as openstreetmap for the forward and reverse searches. I know openstreetmap can handle everything that you are asking for.