I have recently strated learning about Alexa skills. I was wondering if we could access different websites using alexa. For example, "Alexa, show me my facebook notifications"
So far I have seen examples of how we can create WebAPIs using Amazon API Gateway. But can we access a different website or a blog with GET or POST method that is not using Amazon API Gateway.
Also, what authorizations will be needed to do this?
For example, "Alexa, show me my facebook notifications"
Yes, it is possible to have that kind of functionality.
Currently, I'm developing with nodejs and use the request-promise module for making HTTP request to my server.
Also, there is a nice tutorial using the request npm module.
Related
I want to integrate Proactive Event API and Reminder API into Alexa skills. I saw some examples using aws lambda. I want to know if i can use it using my own service?
You can yes - it's just an HTTP call so you can do that from wherever works best for your infrastructure/skill. Please refer to the documentation here:
Reminders API
Proactive Events
I would highly recommend using the ASK SDK to develop your skill as it handles authentication for you among other things.
See this tutorial with a live code video on how to integrate the RemindersAPI using the ASK SDK for Node.js.
we wanted customize our salesforce application via giving the skype conference link while sending the email from the application itself. the application is completely on visualforce pages and controller so i dont see any appexchange app will help on this.
I have already checked the below links though i could not get any integration apis
https://msdn.microsoft.com/en-us/skype/ucwa/onlinemeetinginvitation_ref
https://ucwa.skype.com/websdk
There are no integration Apis as of now. Only you have to write your own integration logic using Skype for Web SDK. It is a bit complicated SDK and not properly documented or maintained. It has tight coupling with Azure AD and video streaming doesn't work in Chrome/Firefox.
Some integration use cases/examples can be found here
Other relevant information.
https://dev.skype.com/
https://github.com/OfficeDev/skype-docs/tree/master/Skype
I'm building a voice activated AI system for my home. A la Echo, I want to be able to start streaming music on my android host when I say "play some rock". I can handle the ai part, but I need a web API endpoint to start streaming music.
Here's Web API Endpoint Reference. This Web API endpoints gives external applications access to Spotify catalog and user data. And some Web API Code Examples & Libraries and here's Working With Playlists.
Also have a look at this. This repo is a Go wrapper for working with Spotify's Web API which aims to support every task listed in the Web API Endpoint Reference.
Hope this helps!
The Mopidy music server can stream music from spotify and offers lots of API options for clients.
I'm building a REST APIs in Symfony2. The idea is to use these apis from a angular web app and a mobile app. Authentication is required to use the APIs.
I thought in the following possibilites:
Separate Symfony and angular in diferent projects:
The URLs under /api would use OAuth2 to authenticate user (FOSOAuthServerBundle). Both web and mobile app would need to use an access token.
Include angular inside Symfony: In the web app the users are authenticated using a symfony form, and therefore no need to protect the urls under /api with OAuth2. But how would authenticate users from the mobile app?
Please, any help is good!
In short, what I need is that the APIs can be used from two clients: web app and mobile app
Thanks!
I'm currently studying and suffering from the same problem and so far the best option I've seen is to keep the projects separate. If you include angularJS in your Symphony project, you will end up using resources that Symphony provides that you won't be able to replicate in the mobile structure. By detaching the server with the client completely, your Web App built only with Angular will be more similar to your mobile app, mimicking the stand-alone application mode.
Personally, I chose JWT Auth since it doesn't require 12 tables in your database, but using OAuth2 would have similar result.
Is always better to choose some solution that is already tested for many people and is used by them. So, I think is better you to use the OAuth technique, so you can consume your api from mobile, web and every other technology.
If you will join the API and WEBApp is up to you. because REST use no session and every call is a new call that you need to check and block or respond. I have an app that has an Codeigniter API and an AngularJS APP in the same project, but thoose does not share any exclusive thing as sessions.
I built e-commerce with FOSRestBundle, HWIOOauthBundle and FOSUserBundle
From server side, generate accesstoken and authenticate via api/login/ api/login_check/
write your security.yml routing access
From client side, call your api. It should render 200 or 403 HTTP_Code.
I have been developing an online accounting software which is a web application. We use Secured Google Cloud Endpoints in our project. Now I would like to securely access those endpoints in phonegap. So, for that I would like to do OAuth2.0(google) and access my API securely. I have been struggling for a while to find good JavaScript Client Libraries to access my Secured API in phoneGap.
Please help me...
Any replies would be appreciated.
Finally After some struggle I have figured out the solution. If we are trying to do Google OAuth in phone gap its better to use normal JQuery and for calling the Secured Google Cloud Endpoints we can go with Google JavaScript Client Libraries. I have found a sample project oauth-google-api-gapi-phonegap-childbrowser-jquery which is a very good start for the beginners.