我想从 3taps API 中提取房地产列表。
http://3taps.com/developers提供了许多类别的列表,但我只想提取房地产类别。
我的开发将在 Microsoft .Net 中所以,我只有一个选择,我有JS
谁能指导我如何实现这个 API?
我已经尝试了以下代码。
<html>
<head>
<title>Jasmine Test Runner</title>
<link rel="stylesheet" type="text/css" href="lib/jasmine-1.0.2/jasmine.css">
<script type="text/javascript" src="lib/jasmine-1.0.2/jasmine.js"></script>
<script type="text/javascript" src="lib/jasmine-1.0.2/jasmine-html.js"></script>
<!-- include source files here... -->
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="json.js"></script>
<script type="text/javascript" src="3taps.js"></script>
<!-- include spec files here... -->
<script type="text/javascript" src="3tapsSpec.js"></script>
</head>
<body>
<script type="text/javascript">
jasmine.getEnv().addReporter(new jasmine.TrivialReporter());
jasmine.getEnv().execute();
var items = new threeTapsClient("crcq5ztyvj6duvuzk4pbatqn").search.search({ text: 'Real Estate', category: 'Want Housing' }, function (results) { console.log(results) });
</script>
</body>
</html>