Giter Club home page Giter Club logo

indicoio-node's People

Contributors

aidankmcl avatar annecarlson avatar brandly avatar dianavermilya avatar jagreene avatar jeloou avatar joseroman avatar kwyn avatar madisonmay avatar ragingsloth avatar sihrc avatar slater-victoroff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

indicoio-node's Issues

X-Warning Header

Add functionality to read in X-Warning headers and print any content to stdout -- useful for future deprecation.

Node.js => Error: connect ECONNREFUSED

Hi!
I did'n know what the problem it may be cause it working on my machine yesterday.
It's simple code from tutorial:

var indico = require('indico.io');
indico.apiKey =  'f92bd5647cc7536bf75518a3eebce323';

var response = function(res) { console.log(res); }
var logError = function(err) { console.log(err); }

// single example
indico.sentiment({data: 'I love writing code!'})
  .then(response)
  .catch(logError);

on response i receive:

{ [Error: connect ECONNREFUSED 104.197.152.141:80]
  cause:
   { [Error: connect ECONNREFUSED 104.197.152.141:80]
     code: 'ECONNREFUSED',
     errno: 'ECONNREFUSED',
     syscall: 'connect',
     address: '104.197.152.141',
     port: 80 },
  isOperational: true,
  code: 'ECONNREFUSED',
  errno: 'ECONNREFUSED',
  syscall: 'connect',
  address: '104.197.152.141',
  port: 80 }

I was tried to reinstall Node.js, tried version 6.3.1 and 4.4.7 of Node.js. Tried to send api call from PostMan - it works. But from node.js code - not working. Tried to debug - but nothing found yet.

screen shot 2016-08-14 at 05 02 18

screen shot 2016-08-14 at 05 20 55

Please, help me.
Thanks.

Remove deasync

In general this module needs to be restructured and bumped a version to work asynchronously. Potentially with promises to make it more manageable.

API Specific Preprocessing

Add infrastructure to more elegantly handle api specific logic prior to making a request.

Could add a pre-request function to the services api object.

Image Resizing/Fitting

Found this tool and think it might be exactly what we need. https://github.com/EyalAr/lwip

It has a node.gyp dependance but anyone running node should be able to use it. If anything we can make a recommendation to use this tool and/or include links to this and ImageMagik and GraphicsMagik

Thoughts?

LWIP installation issues

The lwip package is prone to installation issues, should see what we can do to remedy it on our end.

Private cloud support

Remove calls to local in favor of configuration file and environment variable based private cloud support.

Receiving error for all calls

Hi, it seems this library is unusable. I receive the following with every request:

SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)

It used to work. What's going on?

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.