Actions on Google where to start with no experience in JSON - actions-on-google

Where I can learn about actions on google? I have read the documentations but still confused I don't have any experience in JSON

Actions on Google provides a convenient Node.js client library, which handles all the Conversation API JSON payloads for you. You can just use the high-level client library API instead: https://github.com/actions-on-google/actions-on-google-nodejs

Start by reading about JSON and understanding it, you should probably get to know some basic JavaScript.
This is a very basic getting started website:
https://www.w3schools.com/js/js_json_intro.asp

If your using Java or Kotlin (or any lang on JVM really) you can use the unofficial Kotlin/Java SDK - https://github.com/TicketmasterMobileStudio/actions-on-google-kotlin

Related

What's the stock way of learning APIs for Dart/Flutter?

So there are a ton of dart packages that do all the heavy lifting regarding API handling but I am looking for the ground-up approach to learning API's and how they are handled within the Flutter framework. Wondering if there are any sources/tutorials on how to do so. With the exception of google's own documentation.
You can go through the official website to handle APIs in flutter-
https://docs.flutter.dev/cookbook/networking/fetch-data
and here's a good documentation of basic flow of API integration-
https://mobikul.com/http-api-calling-in-flutter/
Hope it will work for you.

Appsync Javascript client choice

I would like to use straight forward vanilla JavaScript to create an AppSync web client front end. All the examples seem to demonstrate using React. Do you have to use a JavaScript framework? Any pointers to a good resouce would be welcome
I would recommend checking out Amplify - https://github.com/aws-amplify/amplify-js
But if you wish to wish remain as "vanilla" as possible then you will have to use the AWS JS SDK. https://github.com/aws/aws-sdk-js

Why is actions on google use node js?

Does anyone know the reasoning behind this language and framework choice? Seems like something like python would be better suited for machine learning, NLP type problems.
If you want, you can certainly write your Action fulfillment in Python. Although Google provides a convenience library in node.js, the fulfillment is done via a webhook that receives JSON and is responsible for sending JSON back to Google.
The client library does not provide NLP but is a convenience for the Conversation API for actions fulfillment.

Writing an api-doc for Swagger

I'm trying to use the Swagger UI, and it says that I should begin by writing an api-doc that describes the exact api for a REST api. The problem is that I have no idea what this means. Is this document written in plain English? Or is there a certain format that will be able to generate the UI?
Thank you!
Swagger is a specification for describing REST APIs. Documentation of the specification can be found here - https://github.com/swagger-api/swagger-spec.
Generally, there are two ways to document your API. If you already have an existing API with code, you can use any of the existing libraries (https://github.com/swagger-api/swagger-spec#additional-libraries) to integrate into your code and generate documentation at run time. Some of those libraries also offer offline generation of such docs.
If you're looking to design an API, or would rather not integrate another library into your application, you can use https://github.com/swagger-api/swagger-editor either locally or with the online version - http://editor.swagger.io.
Once you have the documentation, you can use Swagger UI to visualize and test it.

Firebase and Play Framework (Scala) is it possible?

Hey I love Play Framework Scala and I also am falling in love with Firebase. I was wondering though, I'm planning on building an app using AngularFire and I'm going to need to do some server-side logic/computation and make some server-side queries to Firebase. Is this possible to do with a Play Framework Scala setup? If so what is the recommended approach? If not, is it coming? If so when? I think it's so cool that the Firebase guys used Scala to build Firebase, but I'm bummed there is no Scala API to work with (that I can see). Maybe I could use the Java API somehow, but write still write the app in Scala? Any help would be great. Thanks!
Scala is highly interoperable with Java (compiles to the same bytecode) so you should be able to use the Java API straight-up without any issues.
While some libraries add Scala-specific wrappers to make an API more idiomatic and pleasant for a functional programming style and to smooth some rough edges, it's often not strictly necessary.
If for some reason you didn't want to use the Java client libs, you could also interface with the Firebase REST API via Play 2's very convenience and succinct web services library.
Should be no problem with either their Java SDK (when using Firebase on the backend) or the JavaScript SDK (when using it on the client). But you won't have native support for Scala or Play, especially no support for Iteratee/Enumeratee in Play.
The Java API looks quite good and seems to be event driven. So it should be no problem to integrate it in Play in a scalable way.