Welcome to Dianping Open SDK Samples!
git clone git://github.com/dianping/dianping-open-sdk.git How to get samples:
- cd dianping-java-samples
- change App Key and secret in DemoApiToolTest.java
- run mvn test
- 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
OAuth2 Android Samples:
- 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