Ambient on/off

科學人-eRep API 匯市介紹

20 Day 1,445, 06:58 Published in Republic of China (Taiwan) Republic of China (Taiwan) Social interactions and entertainment Social interactions and entertainment

各位國民大家好,
我是人稱漂亮臉的Hunter Cheng,
又到了週末科學人發新刊的時候了,
這次又是要介紹eRep API,
這次針對匯市的部份最介紹,
首先我們先看有關匯市的API連結,
http://api.erepublik.com/v2/feeds/exchange//
其中
buy_currency: 你要買的貨幣名稱
sell_currency: 你要賣的貨幣名稱
例如:
http://api.

read more »

科學人-eRep API簡介

28 Day 1,439, 01:31 Published in Republic of China (Taiwan) Republic of China (Taiwan) Social interactions and entertainment Social interactions and entertainment

大家好,我是人稱漂亮臉的Hunter Cheng,
今天我突然起想,要來教大家,跟eRep有密切關係的eRep API,
這個東西小至個人數據大至國家數據都有,
是許多統計網站與一些相關程式的依據,譬如說irc bot也是抓這個資料。
手冊在http://api.erepublik.com/
不過這個API的功能很久沒有更新了,
裡面有些東西已經有改變,但是一些基本的東西一樣可以用,
譬如說力量阿、軍階阿、等級阿之類的東西。

其使用方式並不難,
如果你是要統計國家級的資料,

read more »

科學人

47 Day 1,438, 05:04 Published in Republic of China (Taiwan) Republic of China (Taiwan) Social interactions and entertainment Social interactions and entertainment

各位國民大家好,我是人稱漂亮臉的Hunter Cheng,
有些人可能不認識我,
我先簡單自我介紹一下,
我是前中研院院長,多屆議員,
目前隱退中。

然而辦此報的目的是要騙MM章讓更多國民了解如何寫程式,
進而增加我國的科學家。
要不然中研院都沒人了...

目前本人有撰寫一些給國軍用的程式,
而之前也有許多優秀的科學家寫了許多滿不錯的腳本,
可惜的是我本人對於Greasemonkey不熟悉,
因此會挑簡單的perl來做介紹,
請有興趣的民眾多多指教。

read more »