我正在參與一個慈善項目,在學校中將獲得前10名捐贈者的獎勵。最終的目標是在我們的網站上或通過週期性推文獲得前十名列表的活動信息,例如記分牌。我是計算機科學專業的第二年,並且知道python。Venmo Webhook監控支付數據
我不認爲我會解析JSON到python字典或列表,然後排序排行榜的問題。問題是我對使用webhook導入數據方面的Web技術不夠了解。我可以使用https://requestb.in/查看數據並測試交易,但我需要更持久的解決方案。我也需要能夠在線運行而不是在我的電腦上運行。
我真的很感激被指出正確的方向。上https://requestb.in/
{
"date_created": "2013-12-16T16:15:23.514136",
"type": "payment.created",
"data": {
"action": "pay",
"actor": {
"about": "No Short Bio",
"date_joined": "2011-09-09T00:30:51",
"display_name": "Andrew Kortina",
"first_name": "Andrew",
"id": "711020519620608087",
"last_name": "Kortina",
"profile_picture_url": "",
"username": "kortina"
},
"amount": null,
"audience": "public",
"date_completed": "2013-12-16T16:20:00",
"date_created": "2013-12-16T16:20:00",
"id": "1312337325098795713",
"note": "jejkeljeljke",
"status": "settled",
"target": {
"email": null,
"phone": null,
"type": "user",
"user": {
"about": "No Short Bio",
"date_joined": "2011-09-09T00:30:54",
"display_name": "Shreyans Bhansali",
"first_name": "Shreyans",
"id": "711020544786432772",
"last_name": "Bhansali",
"profile_picture_url": "",
"username": "shreyans"
}
}
}
}
這是一個非常開放的問題。你能描述一下你想要實現的過程嗎? JSON從哪裏來?此外,Venmo可能不是最好的支付處理器:http://gizmodo.com/stop-using-venmo-1759867212 –