Code Monkey home page Code Monkey logo

stackoverflow-java-sdk-1's Introduction

stackoverflow-java-sdk

This project aims to provide a Java wrapper to the Stack Exchange ? API.

Interfaces

There are two interfaces to the library.

  • Query Interface
  • Facade Interface

Get Started

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.

  • ./dist/target/stackoverflow-java-sdk-release-XXXX-release.jar
  • ./core/target/stackexchange-java-core-XXXX.jar
  • ./schema/target/stackexchange-java-schema-XXXX.jar

Include all JARs three in your classpath

Or you simply maven dependency in your project

Dependency

 <dependency>  
  <groupId>com.googlecode.stackexchange</groupId>  
  <artifactId>stackoverflow-java-sdk-release</artifactId>  
  <version>2.2.0</version>  
 </dependency>  

Repository

  <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.

Contributing

Source code contributions can be submitted sumitting a pull request

Feature

  • 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. API Design.

  • Query API Query API provides a Builder like syntax to the StackOverflow? API.There are similar Query interfaces for Answers, Comments, Timelines, Badges etc.

  • Switch Site Fetching records from different site are described here.

  • Advance Search Advance search feature available in SDK.

For complete stand-alone examples see Example Source.

stackoverflow-java-sdk-1's People

Contributors

hawkinswnaf avatar sanjivsingh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.