Coder Social home page Coder Social logo

emt-library's Issues

Uncontrolled function GEO - getRouteLines is not a function

Testing the different methods, I noticed that the getRouteLinesRoute function of the GEO method is not controlled, so it can not show results.

In console it shows me the following:
geo.getRouteLinesRoute is not a function

I hope to help. Thank you very much in advance

Exposición de credenciales

PASS_KEY = "744FDBE6-0C89-43EF-8114-536BF14C6E51"

@Lorengamboa : Creo que esto es información confidencial y no debería ser parte del código 👎

Te recomiendo que mires cómo modificar la historia de git, ya que con borrarlos en un commit no basta.

Una vez lo hayas quitado y modificado la historia de git, puedes usar programas como truffleHog para ver si quedan cosillas feas por el repo.

Geo / getArriveStop - Unrecognized client

Hello, first of all I congratulate you on this API that I am currently a user of. I'm currently trying to work with the getArriveStop method but it returns the following message: Unrecognized client. Should I request another type of Token? I have used other methods of ('bus') and they work perfectly. If you could help me, I would appreciate it. I show you the code in case it was technical error.

var EMT = require('emt-bus');
EMTToken = new EMT('idClient', 'passKey')

var geo = EMTToken('geo')
geo.getArriveStop('codeStop', 'ES').then(function(result) {
                console.log(result)
 })

While in console it shows the following:

{ReturnCode: '4', 
Description: 'Unrecognized client'}

Thanks in advance

No authentication allowed | PassKey expired

As I mentioned in the title of this question, when I correctly set the credentials when instantiating the library, the console shows me the following message:

(node:137) UnhandledPromiseRejectionWarning: PassKey expired

Does the wrapper have a problem working?
thank you in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.