Giter VIP home page Giter VIP logo

angel.co-node's People

Contributors

arkeologen avatar dependabot[bot] avatar mateusfreira avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

angel.co-node's Issues

Change method naming for Likes

Current Like story syntax is something like:

angel.likes.create({
    likable_type: '',
    likable_id: ''
}, function(err, body) {
    if ( err )
        return console.log(err);

    console.log(body); // Something with messages here.
});

We need to change it as:

angel.likes.like({
    likable_type: '',
    likable_id: ''
}, function(err, body) {
    if ( err )
        return console.log(err);

    console.log(body); // Something with messages here.
});

In the same way, change the Delete / Unlike process as defined:

angel.likes.trash('like_id', function(err, body) {
    if ( err )
        return console.log(err);

    console.log(body); // Something with messages here.
});

TO

angel.likes.unlike('like_id', function(err, body) {
    if ( err )
        return console.log(err);

    console.log(body); // Something with messages here.
});

Change method naming for Startup

Current implementation has the following name for getting a single startup:

angel.startups.get('startup_id_here');

From now, instead of using reserved keyword get, lets keep it clean and change to:

angel.startups.startup('startup_id_here');

Add static accessToken allocation

It must be better if there must be a way for the user to set the accessToken once for the wrapper instead of passing that again & again in all over the application. This will save the headache and accessToken will keep referenced with the user's position. Proposed syntax might be something like:

angel.setAccessToken('access_token_here');
// Now make calls in all over the application.

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.