奇门遁甲 API接口

接口数据api

接口平台:https://api.yuanfenju.com/

开发文档:缘份居国学研究开发者API

支持格式:JSON

请求方式:HTTP POST

<?php//您的密钥
$api_secret = "wD******XhOUW******pvr";
//请求择日择时接口
$gateway_host_url = "https://doc.yuanfenju.com/liupan/qimendunjia.html";//请求参数
$request_data = ['name' => $api_secret,'sex' => '0','type' => '0','year' => '1999','month' => '12','day' => '3','hours' => '12','minute' => '3',];//curl
function curlSend($process_gateway, $data_arr, $type = 1) {$ch = curl_init();curl_setopt($ch, CURLOPT_URL, $process_gateway);curl_setopt($ch, CURLOPT_POST, $type);curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data_arr));curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);curl_setopt($ch, CURLOPT_FAILONERROR, true); // Set this option to handle errors$response = curl_exec($ch);if ($response === false) {$error_message = curl_error($ch);// Handle or output the error message as neededecho "cURL error: " . $error_message;}curl_close($ch);return $response;
}function process_host($curlPost,$gateway_url) {$response = curlSend($gateway_url,$curlPost,1);print_r($response);}process_host($request_data,$gateway_host_url);

返回数据:

<?php{"errcode": 0,"errmsg": "请求成功","notice": "本次测算结果仅供娱乐使用,请勿用于封建迷信和违法用途。","data": {"name": "章三","sex": "乾造","gongli": "2000年01月09日12时03分","nongli": "1999年腊月初三日午时","sizhu_info": {"year_gan": "己","year_zhi": "卯","month_gan": "丁","month_zhi": "丑","day_gan": "丙","day_zhi": "寅","hour_gan": "甲","hour_zhi": "午"},"xunkong_info": {"year_xunkong": "申酉空","month_xunkong": "申酉空","day_xunkong": "亥戌空","hour_xunkong": "辰巳空"},"xunshou_info": {"year_xunshou": "甲戌","month_xunshou": "甲戌","day_xunshou": "甲子","hour_xunshou": "甲午"},"zhifu_info": {"zhifu_name": "天禽","zhifu_luogong": "五","zhishi_name": "死门","zhishi_luogong": "五"},"fushou": "辛","xunshou": "甲午辛","dunju": "上元阳遁二局","dingju": "拆补法定局","panlei": "转盘奇门","jieqi_pre": "公历 2000-01-06 09:00:42 小寒","jieqi_next": "公历 2000-01-21 02:23:03 大寒","gong_pan": [{"shenpan": {"bashen": "六合"},"tianpan": {"jiuxing_tianqin_sanqiliuyi": "","jiuxing_tianqin": "","jiuxing": "天蓬","sanqiliuyi": "乙","bashen": ""},"dipan": {"bashen": "","bagua": "","sanqiliuyi": "乙"},"renpan": {"bamen": "休门"},"description": {"gong_ju": "伏吟局","gong_ju_desc": "伏吟象征着天地闭合的情景,伏吟多为反复,......","luo_gong_desc": "休门象征着休息、宁静、安逸,常与养生、健康相关......"}}, {"shenpan": {"bashen": "白虎"},"tianpan": {"jiuxing_tianqin_sanqiliuyi": "","jiuxing_tianqin": "","jiuxing": "天任","sanqiliuyi": "丁","bashen": ""},"dipan": {"bashen": "","bagua": "","sanqiliuyi": "丁"},"renpan": {"bamen": "生门"},"description": {"gong_ju": "伏吟局","gong_ju_desc": "伏吟象征着天地闭合的情景,伏吟多为反复,......","luo_gong_desc": "生门象征着远行以及婚姻嫁娶恋爱相关;因此......"}}, {"shenpan": {"bashen": "玄武"},"tianpan": {"jiuxing_tianqin_sanqiliuyi": "","jiuxing_tianqin": "","jiuxing": "天冲","sanqiliuyi": "己","bashen": ""},"dipan": {"bashen": "","bagua": "","sanqiliuyi": "己"},"renpan": {"bamen": "伤门"},"description": {"gong_ju": "伏吟局","gong_ju_desc": "伏吟象征着天地闭合的情景,伏吟多为反复,不得力状态,代表困难......","luo_gong_desc": "伤门象征着你所面临的困难和挑战;因此伤门落震宫,你的困难和......"}}, {"shenpan": {"bashen": "九地"},"tianpan": {"jiuxing_tianqin_sanqiliuyi": "","jiuxing_tianqin": "","jiuxing": "天辅","sanqiliuyi": "庚","bashen": ""},"dipan": {"bashen": "","bagua": "","sanqiliuyi": "庚"},"renpan": {"bamen": "杜门"},"description": {"gong_ju": "伏吟局","gong_ju_desc": "伏吟象征着天地闭合的情景,伏吟多为反复,......","luo_gong_desc": "杜门象征着堵塞和藏匿的意思;因此杜门落巽宫,事情进展缓慢,且......"}}, {"shenpan": {"bashen": "九天"},"tianpan": {"jiuxing_tianqin_sanqiliuyi": "","jiuxing_tianqin": "","jiuxing": "天英","sanqiliuyi": "丙","bashen": ""},"dipan": {"bashen": "","bagua": "","sanqiliuyi": "丙"},"renpan": {"bamen": "景门"},"description": {"gong_ju": "伏吟局","gong_ju_desc": "伏吟象征着天地闭合的情景,伏吟多为反复,不得力状......","luo_gong_desc": "景门代表考试、升学,学业相关;因此景门落离宫,......"}}, {"shenpan": {"bashen": "值符"},"tianpan": {"jiuxing_tianqin_sanqiliuyi": "辛","jiuxing_tianqin": "禽","jiuxing": "天芮","sanqiliuyi": "戊","bashen": ""},"dipan": {"bashen": "","bagua": "","sanqiliuyi": "戊"},"renpan": {"bamen": "死门"},"description": {"gong_ju": "伏吟局","gong_ju_desc": "伏吟象征着天地闭合的情景,伏吟多为反复,不得力......","luo_gong_desc": "死门代表过去的一些负面,消极的情绪相关;因此死门落......"}}, {"shenpan": {"bashen": "螣蛇"},"tianpan": {"jiuxing_tianqin_sanqiliuyi": "","jiuxing_tianqin": "","jiuxing": "天柱","sanqiliuyi": "癸","bashen": ""},"dipan": {"bashen": "","bagua": "","sanqiliuyi": "癸"},"renpan": {"bamen": "惊门"},"description": {"gong_ju": "伏吟局","gong_ju_desc": "伏吟象征着天地闭合的情景,伏吟多为反复,不得......","luo_gong_desc": "惊门代表外部环境出现的突发的变化或不稳定因素,会......"}}, {"shenpan": {"bashen": "太阴"},"tianpan": {"jiuxing_tianqin_sanqiliuyi": "","jiuxing_tianqin": "","jiuxing": "天心","sanqiliuyi": "壬","bashen": ""},"dipan": {"bashen": "","bagua": "","sanqiliuyi": "壬"},"renpan": {"bamen": "开门"},"description": {"gong_ju": "伏吟局","gong_ju_desc": "伏吟象征着天地闭合的情景,伏吟多为反复,不得力状态......","luo_gong_desc": "开门象征机遇、财富与事业的信息;因此开门落乾宫,意味着......"}}, {"shenpan": {"bashen": ""},"tianpan": {"jiuxing_tianqin_sanqiliuyi": "","jiuxing_tianqin": "","jiuxing": "","sanqiliuyi": "","bashen": ""},"dipan": {"bashen": "","bagua": "","sanqiliuyi": "辛"},"renpan": {"bamen": "中门"},"description": {"gong_ju": "未知局","gong_ju_desc": "不做解析","luo_gong_desc": "中门并非八门之一,而是甲的隐身地,故为遁甲,甲是......"}}]}
}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/691957.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

django rest framework 学习笔记2

注意&#xff1a;该文章部分摘抄之百度&#xff0c;仅当做学习笔记供小白使用&#xff0c;若侵权请联系删除&#xff01; 显示关联表的数据&#xff0c;本示例会显示所有的关联的数据信息 from rest_framework import serializers from .models import Student class StudentM…

各种手型都合适,功能高度可定制,雷柏VT9PRO mini和VT9PRO游戏鼠标上手

去年雷柏推出了一系列支持4KHz回报率的鼠标&#xff0c;有着非常敏捷的反应速度&#xff0c;在游戏中操作体验十分出色。尤其是这系列4K鼠标不仅型号丰富&#xff0c;而且对玩家的操作习惯、手型适应也很好&#xff0c;像是VT9系列就主打轻巧&#xff0c;还有专门针对小手用户的…

二维红外流程

x.1 开激光器 先将TDG&#xff0c;TCU&#xff0c;Empower打开&#xff0c;等一分钟后将TDG和Empower的钥匙打到On上&#xff1b; 按顺序先后开MaiTai&#xff1b;ACE&#xff1b;TOPAS&#xff1b;AOM&#xff1b; 测量ACE出光口处功率&#xff08;3.8w&#xff09;&#x…

MybatisPlus多表联查-分页关联查询+根据id获取多表联查后的单行数据

分页关联查询 需求分析 有两张表w以及d&#xff0c;需要w的一些字段以及d的一些字段在前端显示 此时就需要用到关联查询&#xff0c;查询到的数据放入视图类&#xff0c;显示在前端 项目结构 视图类 package com.wedu.modules.tain.entity.vo;import lombok.Data;import ja…

【算法】约瑟夫环问题解析与实现

一、导言 约瑟夫环&#xff08;Josephus Problem&#xff09;是一个经典的数学问题&#xff0c;涉及一个编号为 1 到 n 的人围成一圈&#xff0c;从第一个人开始报数&#xff0c;报到某个数字 m 的人出列&#xff0c;然后再从下一个人开始报数&#xff0c;如此循环&#xff0c…

挑战杯 基于RSSI的室内wifi定位系统

0 前言 &#x1f525; 优质竞赛项目系列&#xff0c;今天要分享的是 &#x1f6a9; wifi室内定位系统 该项目较为新颖&#xff0c;适合作为竞赛课题方向&#xff0c;学长非常推荐&#xff01; &#x1f947;学长这里给一个题目综合评分(每项满分5分) 难度系数&#xff1a;…

从零学算法300

300.给你一个整数数组 nums &#xff0c;找到其中最长严格递增子序列的长度。 子序列 是由数组派生而来的序列&#xff0c;删除&#xff08;或不删除&#xff09;数组中的元素而不改变其余元素的顺序。例如&#xff0c;[3,6,2,7] 是数组 [0,3,1,6,2,2,7] 的子序列。 示例 1&…

2月20日,每日信息差

第一、中国联通 1 月智慧客服客户问题解决率为 97.9%&#xff0c;大联接用户达 10.02 亿户&#xff0c;5G 套餐用户约 2.64 亿户&#xff0c;物联网终端连接约 5.06 亿户。5G 行业虚拟专网服务客户数为 9185 个&#xff0c;智慧客服问题解决率 97.9%&#xff0c;智能服务占比 8…

仿照elementUI写个步骤条

效果图如下&#xff1a; 直接上代码&#xff1a; <template><div class""><div class"steps"><div class"step" v-for"(step, index) in steps" :key"index"><divclass"icon"click&…

深度学习发展的艺术

将人类直觉和相关数学见解结合后&#xff0c;经过大量研究试错后的结晶&#xff0c;产生了一些成功的深度学习模型。 深度学习模型的进展是理论研究与实践经验相结合的产物。科学家和工程师们借鉴了人类大脑神经元工作原理的基本直觉&#xff0c;并将这种生物学灵感转化为数学模…

微信小程序如何配置服务器域名

要在微信小程序中配置服务器域名&#xff0c;您需要按照以下步骤进行操作&#xff1a; 登录微信公众平台&#xff08;https://mp.weixin.qq.com/&#xff09;。进入小程序管理后台。在左侧菜单中选择"开发"&#xff0c;然后选择"开发设置"。在"服务器…

公司有多个域名,是不是每个域名都安装一个SSL证书?

公司有多个域名&#xff0c;是不是每个域名都安装一个SSL证书&#xff1f; 拥有多个域名可能意味着会增加管理的复杂性和维护成本。如果您的公司有很多个域名&#xff0c;并不是每个域名都要逐个安装SSL证书。可以考虑购买多域名SSL证书或通配符SSL证书&#xff0c;而不是为每…

【Java】上传图片至阿里云oss服务器,文件上传以及图片base64上传

目录 引入maven依赖编写ossUtil编写Controller使用接口工具进行测试测试表单文件上传测试base64文件上传 首先需要在阿里云上开通oss服务&#xff0c;并获取到以下四个信息 endpoint: 购买的服务器节点地址accessKeyId: 接入的keyIdaccessKeySecret: 接入的key秘钥bucketName&…

[计算机网络]---UDP协议

前言 作者&#xff1a;小蜗牛向前冲 名言&#xff1a;我可以接受失败&#xff0c;但我不能接受放弃 如果觉的博主的文章还不错的话&#xff0c;还请点赞&#xff0c;收藏&#xff0c;关注&#x1f440;支持博主。如果发现有问题的地方欢迎❀大家在评论区指正 目录 一、端口号…

MyBatis数据库查询

文章目录 什么是MyBatisMyBatis程序的创建MyBatis实现数据库查询传参查询插入实现添加操作获取自增ID删除实现修改实现#{}和${}SQL注入 like查询 resultMap和resultType多表查询 对于普遍的后端开发而言&#xff0c;其程序主要包含了后端主程序和数据库两个部分&#xff0c;用户…

C/C++ BM11 链表相加(二)

文章目录 前言题目解决方案一1.1 思路阐述1.2 源码 总结 前言 这道题使用链表来实现加法运算&#xff0c;主要是涉及到数据对位以及加法进位的处理。 题目 假设链表中每一个节点的值都在 0 - 9 之间&#xff0c;那么链表整体就可以代表一个整数。 给定两个这种链表&#xff0…

使用C# Net6连接国产达梦数据库记录

达梦官网&#xff1a;http://www.dameng.com/ 1 下载达梦并进行安装 下载地址&#xff1a;官网首页——服务与合作——下载中心&#xff08;https://www.dameng.com/list_103.html&#xff09; 根据需要自行下载需要的版本&#xff0c;测试版本为&#xff1a;x86 win64 DM8版…

微信商户平台:如何查看超级管理员

如果有普通员工身份&#xff0c;可以登录 https://pay.weixin.qq.com/index.php/core/account/info 扫码进入后&#xff0c;进入菜单&#xff1a;账户中心》商户信息&#xff0c; 即可看到超级管理员的信息。

Windows 重启 explorer 的正确做法

目录 一、关于 Restart Manager 二、重启管理器实例 三、完整实现代码和测试 本文属于原创文章&#xff0c;转载请注明出处&#xff1a; https://blog.csdn.net/qq_59075481/article/details/136179191。 我们往往使用 TerminateProcess 并传入 PID 和特殊结束代码 1 或者…

VsCode指定插件安装目录

VsCode指定插件安装目录 VsCode安装的默认目录是在用户目录(%HomePath%)下的.vscode文件夹下的extensions目录下&#xff0c;随着安装插件越来越多会占用大量C盘空间。 指定VsCode的插件目录 Vscode安装目录&#xff1a; D:\Microsoft VS Code\Code.exeVscode插件安装目录&a…