Welcome to Dianping Open SDK Samples!
These open-source samples help you use Dianping API, including Java/Python/Php/JavaScript/iOS.
- dianping-android-samples
- dianping-javascript-samples
- dianping-java-samples
- dianping-ios-samples
- dianping-php-samples
- dianping-python-samples
- dianping-.net-samples
- oauth2-android-samples
- cd dianping-java-samples
- change App Key and secret in DemoApiToolTest.java
- run mvn test
- cd dianping-javascript-samples
- open DemoApiRequest.html in browser
- IMPORTANT: make sure DemoApiRequest.html is "UTF-8"
- cd dianping-php-samples
- launch a Web application server, eg. Apache http server
- browse DemoApiRequest.php (Make sure that your php is configured!)
- IMPORTANT: make sure DemoApiRequest.php is "UTF-8"
- cd dianping-python-samples
- Run DemoApiRequest.py
- cd dianping-ios-samples
- Open project with XCode (version 4.5 or above)
- cd dianping-android-samples
- import as Eclipse Android Project
- run As Android Application
- this project is based on Android 4.0.3
- cd dianping-.net-samples
- Open dianping-.net-samples.sln with Visual Studio 2010
- this project is based on .NET Framework 4.0
- cd oauth2-android-samples
- Import project into Eclipse and run as Android Project
- this project is based on Android 4.2
If you have any suggestion, please send mails to us.
Dianping Developer Portal Site: http://developer.dianping.com
Contact us:[email protected]