Please use this thread to ask any questions about the Third-Party API Usage Policy. Answered questions will be summarized for easy finding.
What impact does this have on getting an API key? A copy of and link to this policy will be provided when an API key request is approved and the key provided. Does this mean that the backend code of all web applications must be open sourced or are we talking about the html/javascript here? The short answer is yes. The long answer is no, what you should do is extract the code that engages the API into a client library that satisfies the requirements of the policy. |
|
The short answer is yes. The long answer is no, what you should do is extract the code that engages the API into a client library that satisfies the requirements of the policy.
We currently don't expose an API resource that tells you an application's current point allocation. We'd like to, but haven't yet. The "cost" of requests is fairly simple. Each API request costs 1 to 5 points, depending on how heavy the operation is and load. Requests that use cache headers cost less and those that use cache headers that result in a cache-hit cost only 1 point. Requests for static files, like for the auction house dumps, have a cost of 0 because from our point of view they are not part of the API. |
|
The opening section and "Intended Audiance" describes what constitutes an application in this context. |
|
Ok so: More or less. The cost of getting the realm status could be greater than one, but is reduced to 1 if you uses HTTP cache headers and the request resulted in a cache hit. The same holds true with the second API resource request. |
|
If you have specific questions relating to your codebase, you should probably contact [email protected]. |
|
I think you guys are being over-bearing in your control over 3rd party apps which are community driven both in creation and popularity. These aren't the same as in-game addons. This policy has gone through a lot of discussion and review and we feel satisfied with what he have. There are a few additions that we would like to clearly document, specifically regarding referencing assets and images, but those items are still up for discussion. My point is, this policy exists to protect the community, protect the games and create a level playing field for third parties. By removing pay-for features that are based on the API and requiring that all code that engages the API be open and free visible, we are being proactive at creating and promoting a fair community. |
|
The client library I'm putting together uses Spring's RestTemplate and the MappingJacksonHttpMessageConverter to do all the conversion into Java objects, and as such the code created by me is minor (Java based Domain objects, and data access objects that map the 'GET' functions to their appropriate api path) and some Spring configuration files. Should I include the Spring configuration files with my Library? To satisfy the policy? Probably not. Although, it sounds like it would be a very helpful thing to include in client libraries. |
|
I'm really not at liberty to comment on the specifics of application policy to anyone other than the application's developers. |
|
@Straton @Blizzard If you have three distinct applications, then each of them are subject to the Third-Party API Usage policy. Without knowing more about them, I really can't comment. If you have a specific question about your application then I suggest you contact [email protected]. |