I find github search to be immensely useful. Filter by file extension and you can pretty much search the open source world for some API in a language.
Disclaimer: Just a happy sourcegraph user.
[1]: https://code.visualstudio.com/updates/v1_11#_text-search-imp...