Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Welcome to the stackoverflow-java-sdk wiki!
This project aims to provide a Java wrapper to the Stack Exchange ? API.
- Cloned from : http://code.google.com/p/stackoverflow-java-sdk/
- SDK Support Stack Exchange API V2.2**
There are two interfaces to the library.
- Query Interface
- Facade Interface
Clone repository and build.
git clone https://github.com/sanjivsingh/stackoverflow-java-sdk.git cd stackoverflow-java-sdk mvn clean install
Following 3 artifacts will be generated after maven build.
Include all JARs three in your classpath
Or you simply add maven dependency in your project POM.
<dependency> <groupId>com.googlecode.stackexchange</groupId> <artifactId>stackoverflow-java-sdk-release</artifactId> <version>2.2.0</version> </dependency>
<repository> <id>oss.sonatype</id> <url>https://oss.sonatype.org/content/repositories/releases/<url> <releases> <enabled>true</enabled> </releases> </repository>
and start experimenting with SDK.
Asynchronous API Examples of using the API asynchronously are described in Asynchronous API.
Advanced Usage Advanced usage like changing API providers or paging through the results are described in Advanced Usage.
Spring Configuration If you plan to use the library in conjunction with Spring framework, this brief tutorial will guide you. Spring Configuration
API Design A brief design of the API is described here.
Switch Site Fetching records from different site are described here.
Query API Query API provides a Builder like syntax to the Stack Exchange? API.There are similar Query interfaces for Answers, Comments, Timelines, Badges etc.
- Your application must monitor and respect the backoff flag.
Advance Search Advance search feature available in SDK.
For complete stand-alone examples see Example Source.