Giter Site home page Giter Site logo

wunderlist-api's Introduction

Hi! I'm Felipe Sousa

๐Ÿค“ Self-taught developer, working as frontend engineer since 2015
๐Ÿ‡ง๐Ÿ‡ท Based at Brazil, living at Fortaleza
๐ŸŒŽ My hobbies goes around travels, reading, play chess, public speaking, startups, explore new technologies and self made automation.

Tech Skills

web with html, react, angular (development, migrations, monitoring), services/endpoints development using nodejs and python, database with postgresql, mobile/hybrid applications using react native / ionic.

Links

LinkedIn

Send me a mail if you want to talk.

wunderlist-api's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

wunderlist-api's Issues

authentication error

hi guys. thanks for publishing your project! :)

when trying to authenticate with my clientID/accessToken I get an error saying:

body: '{"error":{"type":"server_error","translation_key":"api_error_unknown","message":"An unknown server error occurred","authentication":["missing"]}}' }

here's my code:

"use strict";

const Wunderlist = require("wunderlist-api");

const wunderlist = new Wunderlist({
  clientID: "xxx",
  accessToken: "xxx"
});

// authentication
wunderlist
  .user()
  .then(response => {
    // response
    console.log(response);
  })
  .catch(error => {
    // handle error
  });

what am i doing wrong?

[issue]: error when run build script

When the script build is executed the prompt return a dependecies error:

> tsc -p tsconfig.json && rollup -c rollup.config.js

node_modules/@types/jest/index.d.ts:484:51 - error TS2307: Cannot find module 'jest-diff'.

484             diff(a: any, b: any, options?: import("jest-diff").DiffOptions): string | null;
                                                      ~~~~~~~~~~~

node_modules/@types/jest/index.d.ts:538:44 - error TS2307: Cannot find module 'pretty-format'.

538     type SnapshotSerializerPlugin = import('pretty-format').Plugin;
                                               ~~~~~~~~~~~~~~~

Broken in Node 8.9.3 (stable)

I'm afraid the ES6 modules are breaking the npm-module in node v8.9.3

โžœ  node --version
v8.9.3
โžœ  node index.js                                       
./node_modules/wunderlist-api/build/index.js:524
export default Wunderlist;
^^^^^^

SyntaxError: Unexpected token export

Even with the experimental flag on, it doesn't work:

โžœ  node --experimental-modules index.js
(node:94262) ExperimentalWarning: The ESM module loader is experimental.
index.js:11
import WunderlistAPI from 'wunderlist-api';
^^^^^^

SyntaxError: Unexpected token import
    at createScript (vm.js:80:10)

And if you'll try babel with prefixes (2015 or 2016) it doesn't work as well.

โžœ npm start
> babel-node index.js --presets es2015,stage-2

./node_modules/wunderlist-api/build/index.js:524
export default Wunderlist;
^^^^^^

SyntaxError: Unexpected token export

[docs]: Update the Readme.md

Acceptance Criteria:

  • section: the project
  • #21
  • section: how to use
  • section: features/endpoints;
  • section: contribute
  • section: credits

[setup]: setup Jest

Acceptance criteria:

  • Add support to Jest
  • Add script to run and collect coverage;

[setup]: Setup Github Actions

Acceptance Criteria:

  • Automated pipelines in GitHub actions;
  • Publish Docs on github pages
  • run tests, build and publish the project version each time when merging with master

more details here.

[feature]: auth

Acceptance criteria:

  • create auth class
  • define request base headers
  • create tests cases

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.