GithubHelp home page GithubHelp logo

vestorly-csharp's Introduction

vestorly-csharp

The Vestorly API and .NET client provides the ability for external developers to synchronize their client data with Vestorly.

Installation

Install Visual Studio 2013 or Higher

Open the Solution File

VestorlyAdvisorExample.sln

And then execute the sample:

VestorlyAdvisorExample

Basic Setup

To setup the client, you'll need to request an apiKey from [email protected]

SignIn to Vestorly API

Sign in will return the authentication token on success, and if the sign_in is invalid, it will raise VestorlyException

Example: Authentication to the API

  VestorlyClient client = new VestorlyClient(apiKey);

  // logins to an advisor account
  try { 
      client.Login(username, password);
  } catch (VestorlyException e)
  { 
    // handle errors here
  }

VestorlyClient.LoginWithToken also provides the ability to later login via a token:

  // Login without a username and password - if token is desired to be saved without password
  client.LoginWithToken(client.AuthToken); 

Using the advisor API object

Once logged in with client object, it can be passed to the VestorlyClient.PublishingUrl property to get a valid URL:

Example: Obtain the link to Vestorly Publishing Page or Reporting Page

  Console.WriteLine("Publisher URL: " + client.PublisherUrl);
  Console.WriteLine("Reporting URL: " + client.ReportingUrl);

Dependencies

Visual Studio 2013

RestSharp 104.4.0
.NET 4.5

License

Licensed under MIT License

vestorly-csharp's People

Contributors

okolehao avatar

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.