Yesterday, I asked for an API in Java and the question were closed because it was "Off Topic".
I was confused about that because last week I asked for an Animation API in Java and I got an answer without my question being closed or being told it was off topic.
The problem is, both question were about Java API, the first have been answered, but the second is closed.
Why? Does there is a rule that says asking about APIs is off topic?