ramzinex/php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ramzinex/php

最新稳定版本:v1.1.1

Composer 安装命令:

composer require ramzinex/php

包简介

A PHP wrapper for Ramzinex's API

README 文档

README

Ramzinex API Document

Installation

First of all, You need to make an account on Ramzinex exchange from Ramzinex

After that you just need to pick your token

Use in these ways :

composer require ramzinex/php

or add

"ramzinex/php": "*"

to your composer.json file and then run

$ composer update

Usage

There is an example

require __DIR__ . '/vendor/autoload.php';
	$ramzinex_api = new \ramzinex\RamzinexApi('your authentication token',['Authorization2: Bearer Your-Token','x-api-key: YOUR_API_KEY','additional_header : ....']);
	
	
	$price =$ramzinex_api->getPrice(272);
	
	if($price['http_code'] == 200){
		return $price;	
	}

/*
output
[
 "http_code" => 200
  "result" => [
    "status" => 0
    "data" => array:20 [
      "sell" => 433000
      "buy" => 380008
      "pair_id" => 272
      "icon" => "/exchange/img/coins/toncoin.png"
      "web_link" => "https://ramzinex.com/exchange/orderbook/272"
      "base_precision" => 2
      "quote_precision" => 0
      "base_currency_id" => 166
      "base_currency_symbol" => []
      "quote_currency_id" => 2
      "quote_currency_symbol" =>[] 
      "price_step" => 433
      "amount_step" => 2.3
      "show_order" => 1000
      "url_name" => "toncoin-ton"
      "crypto_box" => 0
      "price_precision" => null
    ]
  ]
]
*/

راهنما

ساخت حساب کاربری

اگر در رمزینکس عضو نیستید میتوانید از لینک عضویت ثبت نام کنید.

مستندات

برای مطالعه کامل مستندات رمزینکس به صفحه مستندات رمزینکس مراجعه کنید.

ramzinex

https://ramzinex.com/

统计信息

  • 总下载量: 20
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-09-18