欢迎访问我的独立博客
摘要: 使用 HMAC 方法生成带有密钥的哈希值 hash_hmac ( string $algo , string $data , string $key [, bool $raw_output = false ] ) 参数 ¶ algo 要使用的哈希算法名称,例如:"md5","sha256","sha 阅读全文
posted @ 2018-01-29 19:01 github.com/starRTC 阅读(1861) 评论(0) 推荐(0)
摘要: set key value get key 删除key (返回被移除key的数量。):del key 检查给定key是否存在(若key存在,返回1,否则返回0。):exists key > expire key 5 (integer) 1 > get key (immediately) "some- 阅读全文
posted @ 2018-01-29 17:20 github.com/starRTC 阅读(125) 评论(0) 推荐(0)
摘要: 安装 Requests pip install requests import requests requests.get('https://github.com/timeline.json') 使用 params 关键字参数,以一个json字符串字典来提供这些参数。举例来说,如果你想传递 key1 阅读全文
posted @ 2018-01-29 13:58 github.com/starRTC 阅读(290) 评论(0) 推荐(0)