mastercoin-MSC/omniwallet — pull request #352 by faizkhan00 (2014-04-07 23:37:11+00:00)
Title: inital api commit

addresses #298

takes a array of integers as input (non hex ints) and returns smart property data as a result:

input: [2147483653]

output:
```
{
"data": [
{
"address": "1471EHpnJ62MDxLw96dKcNT8sWPEbHrAUe",
"data": {
"accept_transactions": [],
"balance": "0.000005",
"bought_transactions": [],
"exodus_transactions": [],
"offer_transactions": [],
"received_transactions": [
{
"baseCoin": "00",
"block": "293180",
"color": "bgc-new",
"currencyId": "2147483653",
"currency_str": "Smart Property",
"dataSequenceNum": "01",
"details": "unknown",
"ecosystem": "02",
"formatted_amount": 0,
"formatted_ecosystem": 2,
"formatted_previous_property_id": 0,
"formatted_property_type": 1,
"formatted_transactionType": 50,
"formatted_transactionVersion": 0,
"from_address": "1471EHpnJ62MDxLw96dKcNT8sWPEbHrAUe",
"icon": "unknown",
"index": "486",
"invalid": false,
"method": "multisig",
"numberOfProperties": "500",
"previous_property_id": "00000000",
"propertyCategory": "Coupons, Gifts",
"propertyData": "Each promo coupon allows one free redemption on the Mastercoin faucet.",
"propertyName": "Mastercoin Faucet Promo Coupon",
"propertySubcategory": "Web",
"propertyUrl": "mastercoin-faucet.com/redeem-coupon",
"property_type": "0001",
"to_address": "unknown",
"transactionType": "0032",
"transactionVersion": "0000",
"tx_hash": "331e4e204f9200a37fb5ea3364bfe52c33bfda3a1f0064d66e1b55e5faa03ba6",
"tx_method_str": "multisig",
"tx_time": "1396151474000",
"tx_type_str": "Fixed property creation",
"update_fs": false
}
],
"sent_transactions": [],
"sold_transactions": [],
"total_bought": "0.0",
"total_exodus": "0.0",
"total_received": "0.0",
"total_reserved": "0.0",
"total_sell_accept": "0.0",
"total_sell_offer": "0.0",
"total_sent": "0.0",
"total_sold": "0.0"
}
}
],
"status": "OK"
}
```