Giter Club home page Giter Club logo

libphp-skycoin's Introduction

fibercrypto

Open-source ecosystem of cryptocurrency tools

libphp-skycoin's People

Contributors

olemis avatar stdevmac avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

simelo

libphp-skycoin's Issues

PHP API wrapper for the Skycoin node API

Expected Behavior

Access to the Skycoin node REST API implemented in PHP code

Actual Behavior

Right now this is only possible using code generated by SWIG , which requires memory handles

Specifications

  • Version: 0.25.1
  • Platform: all
  • Subsystem: all exported API sets

Possible Solution

Generate with Swagger (share more info, please) . Beware of CSRF .

  • Use Skycoin node Swagger spec to generate initial C# REST API client
  • Add make target to automate generation in ./build
  • Aforementioned target should copy / merge relevant files into source code tree
  • README explaining the process
  • Mention in CHANGELOG
  • Patch the result Swagger-gen REST client to support specifying node address
  • Update package metadata
  • Run basic Swagger tests in Travis
  • Unify testing code if multiple frameworks are used across source tree
  • Beware of CSRF auth

PHP API Wrapper for the Skycoin node API

Expected Behavior

Access to the Skycoin node REST API implemented in Java code or as .jar assembly

Actual Behavior

Right now this is only possible using code generated by SWIG , which requires memory handles

Specifications

  • Version: 0.25.1
  • Platform: all
  • Subsystem: all exported API sets

Possible Solution

Generate with Swagger (share more info, please) . Beware of CSRF .

  • Use Skycoin node Swagger spec to generate initial Java REST API client
  • Add make target to automate generation in ./build
  • Aforementioned target should copy / merge relevant files into source code tree
  • README explaining the process
  • Mention in CHANGELOG
  • Patch the result Swagger-gen REST client to support specifying node address
  • Update package metadata
  • Run basic Swagger tests in Travis
  • Unify testing code if multiple frameworks are used across source tree
  • Beware of CSRF auth

Tests for the Skycoin node REST API wrappers for PHP

Expected Behavior

Same tests run for SKY_api_* functions shall be used for PHP API wrappers .

Actual Behavior

... see #1

Specifications

  • Version: 0.25.1
  • Platform: all
  • Subsystem: all exported API sets

Possible Solution

Reuse existing API test code, if any, and parameterize the invocation .

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.