Giter Site home page Giter Site logo

火币api接口{account_id}直接登录火币是无法获取id,需要请求接口获取那个获取呢,谢谢! about exchanges-php HOT 2 CLOSED

zhouaini528 avatar zhouaini528 commented on June 28, 2024
火币api接口{account_id}直接登录火币是无法获取id,需要请求接口获取那个获取呢,谢谢!

from exchanges-php.

Comments (2)

zhouaini528 avatar zhouaini528 commented on June 28, 2024

huobi币币交易,需要获取account_id 方式是

$exchanges=new Exchanges('huobi',$key,$secret);
$result=$exchanges->getPlatform('spot')->account()->get();

火币的所有API都是封装了的。但是更多的接口获取只能通过

//这个方式来获取更多API
$exchanges->getPlatform('spot');

readme的事例是封装的常用几个方法,更多的需要通过上面getPlatform('spot')来实例化底层API,查看底层API

account_id 需要你缓存在你本地,因为该数据不会变,huobi 公共数据获取不需要account_id ,但是交易就需要。首次获取也不需要account_id ,

from exchanges-php.

yeshili avatar yeshili commented on June 28, 2024

哇,谢谢。

from exchanges-php.

Related Issues (20)

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.