-
Notifications
You must be signed in to change notification settings - Fork 17
Switch Site
Sanjiv Singh edited this page May 26, 2014
·
7 revisions
This page describes the API design to support different site.
One parameter can be used to swich to any site.
- stackoverflow
- serverfault
- superuser
- meta.stackoverflow
- etc
Use site "stackoverflow"
StackExchangeApiQueryFactory queryFactory = StackExchangeApiQueryFactory
.newInstance("applicationKey", StackExchangeSite.STACK_OVERFLOW);
Use site "serverfault"
StackExchangeApiQueryFactory queryFactory = StackExchangeApiQueryFactory
.newInstance("applicationKey", StackExchangeSite.SERVER_FAULT);
For list of site supported, visit StackExchangeSite.