Is it possible to get the text of what a user says to Google home ? I couldn't find any way how to do that.
I have an API that can process language as a text. If that's not possible, is it possible to get what users says. I could then use speech recognition to get the text.
Thank you
It looks like you can use the RawInputs portion of the conversation API.
https://developers.google.com/actions/reference/v1/conversation#RawInputs
Related
I am working with Google My Business API.
I need to retrieve a location profile image or location logo url.
According to documentation I need MediaItem with Enum PROFILE or LOGO
Problem is that I found only bulk request:
GET https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/media/*}
which returns all location media (any Enum).
In this case I have to run through response to find item I am searching for and it might be necessary to run multiple requests to access next feed pages.
This approach is irrational on my opinion.
Maybe I am missing something, so is there any way to get what I want in just one request?
Thanks in advance!
The only way is iterate through all MediaItem's
I have a similar question to this one (for Pandas), in that I'd like to have the results of an SQL query appear nicely in a Slack message, as a table.
If for example I output the query results as Markdown and then paste this in Jira, a table appears exactly as I'd like it, regardless of whether column names are in snake_case. However, if I choose the Markdown (raw) code snippet in Slack, underscores are interpreted as beginning italics, which is completely wrong.
Does anyone have a better suggestion for displaying tabular results? Or forcing Markdown (raw) to ignore underscores? I tried code blocks as well but to no avail.
For info, the database IDE I'm using is DataGrip.
Slack does not have support for tables, like Jira. So your only option to to choose from workarounds. I see 3 available approaches:
1) Display in external browser
Store your data in an external web app and just post a link to Slack. That works very e.g. with Google Sheets if you use the Google Apps integrator in your Slack workspace.
2) Display as image
Another option is to generate an image (e.g. GIF) from your table and then post the image to Slack. That way the data can be displayed within Slack. To safe Slack storage space I would suggest storing the image file in an external image service (e.g. imgur) and then only post the link. Imgur has an API which would allow this process to be fully automated.
3) Display as plain text
Building upon one of the answers from the question you linked you can also convert your table into a plain text using a tool like Tabulate and then upload it as plain text snippet to Slack. That way the table could also be viewed within Slack. Note that the max size for snippet uploads is 1MB. Also, Slack will only show the first fews lines by default.
Doug here, creator of SQLBot.co. Tables are not supported in Slack, but you can get pretty close using ascii tables and code formating (three tick marks to begin and end)
Here's an example:
The only issue is that if your table gets too wide the text wraps.
Depending on how you're generating the output there may be good helpers. In the ruby world you can use the terminal-table gem or the text-table gem.
Since this comes up on a google search, and the site mentioned previously requires signup, thought I'd share what I found:
https://ozh.github.io/ascii-tables/
Just paste the output in Slack within a Code Block
I found these links on this site itself..
GET https://www.yammer.com/api/v1/users/{USER_ID}/modified_before/{DATETIME}.json?access_token={ACCESS_TOKEN}
GET https://www.yammer.com/api/v1/subscriptions/created_after/{DATETIME}.json?access_token={ACCESS_TOKEN}
I want to know which date format do i need to use to run my URL properly.
Any kind of help is appreciated
I can't find an example of the requests you've listed. The only example I've found online was someone asking if it was possible to do that with the Yammer API, and the answer appears to be no.
Take a look at the Yammer Ruby gem for example, there is no option as you've described: https://github.com/yammer/yam/blob/master/lib/yammer/api/user.rb
So it's not a matter of having the right timestamp format, it's that the API doesn't support what you're trying to do.
I'm trying to find out if there is a way to do google similar image searches via an API?
I know the image search api is depreciated but is it still useable?
https://developers.google.com/image-search/
Also... It seems that you can do image searches with the custom search api but I can't seem to work out if a similar image search is possible.
http://thenextweb.com/dd/2012/02/14/googles-custom-search-api-now-supports-image-only-results/
Any leads on advice on working this our would be appreciated.
Thanks!
If you have a URL for a hosted image (using Dropbox, imgur, etc), the answer at https://stackoverflow.com/a/15134958/116891 shows you how to find similar images. Basically,
http://images.google.com/searchbyimage?image_url=YOUR_HOSTED_URL
That is deprecated.
But I need JSON format of similar images result.
So, I try to use google cse but this is not supported searching of similar images.
It's just displayed image search results in a custom domain.
Another method that i try is URL.
http://images.google.com/searchbyimage?image_url=YOUR_HOSTED_URL
But this is not solution what i need.
It is because able to use in the browser. I need JSON.
Conclude, I decide to use Vision API of Google.
This is very simple.
https://cloud.google.com/vision/
You can try on the top.
First, access the URL.
Second, upload your image file on the "Try API".
Third, click "JSON" tab menu on the result.
You can be seen JSON about similar images.
there is this awesome website called www.engrade.com. You can get your grades from the website when you log in from your various classes.
Now, is it possible for an Applescript to parse engrade.com, log in as me, using my username and password, then parse to find my grade?
can some one show an example of this? especially logging in.
Thanks,
Elijah
I'd suggest a language like Python to do this. Why do you want to do it with Applescript?