Code Monkey home page Code Monkey logo

robinhood's Introduction

Robinhood API Unofficial Documentation

Few days ago saw a post(https://news.ycombinator.com/item?id=15994312) on how every developer should automate and robinhood really made me excited. As there was no official API documentation and not easy way to kick start your algorithm trading I decided to convert Sanko's documentation (https://github.com/sanko/Robinhood) into open api specification which is already a wonderful work.

This repository presents the unofficial api document in swagger specification (open api) https://swagger.io/ which lets us to generate the api client on your preffered language to consume the api.

Code Gen

You can directly use the robinhood.json or robinhood.yaml file to generate a api client using https://editor.swagger.io/

Or you can just the codegen service to generate the code for you using the api . Document can be found here https://github.com/swagger-api/swagger-codegen#customizing-the-generator

I generated the client as follows Url to post , type application/json https://generator.swagger.io/api/gen/clients/{language}

https://generator.swagger.io/api/gen/clients/java

{
"options":{
    "groupId":"com.kalki",
    "artifactId":"robinhood-cli",
    "artifactVersion":"0.0.1",
    "library":"feign",
    "dateLibrary":"java8"
},	   
"swaggerUrl":"https://github.com/sabareeshkkanan/robinhood/releases/download/0.3/robinhood.json"
}

And i got a one time url back to download the generated client

Spring boot and Spring Fox is used to generate the swagger specification.

robinhood's People

Contributors

sabareeshkkanan 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.