Comments (2)
Thanks for trying this skill!
It looks like the Service Request JSON is good. The alexa.php is supposed to see the bankType value as "bank" and run the getMintDetail() function. From there getMintDetail() should just run mintapi on the command line and get some results to parse. I suspect that this is where it is failing - mintapi is not returning JSON to parse. We should be able to test this with a test script, try creating a test.php file with the contents below in the same dir with alexa.php:
<?php
require_once('config.php');
require_once('mintLib.php');
$mintDetail = getMintDetail($configArray);
print_r($mintDetail);
?>
If you don't see the balances and other details from your mint account, we'll know that the problem is something to do with how we are running mintapi. The command line being executed is in mintLIb.php on line 15. With it fully populated it probably looks something like:
/opt/python-2.7.2/bin/mintapi --session ABCDABCDABCD --thx_guid 123412341234 [email protected] mypassword
try replacing the maintapi path, session, thx_guid, username and password in the above with your own and make sure you get an answer from mintapi. That should help narrow down where any problem might be.
One thing to note is that mintapi says that it will work with chromeapi to obtain the ius_session and thx_guid automatically, however I wasn't able to get that to work in my environment and it is not implemented in the alexa-mint-skill yet. If you were able to get mintapi to work without manually obtaining the ius_session and thx_guid, that might be what is failing here.
from alexa-mint-skill.
Issue resolved.
- had to change the "mintAPI" path (line 19 in config.php file)
- I created the skill using a different amazon account than the one attached to Alexa (hence it was missing from the Skills list).
Special thanks to Dustin for his help!
from alexa-mint-skill.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alexa-mint-skill.