CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✓ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Dec 2015 |
| SPMSupports SPM | ✗ |
Maintained by Ian Grossberg.
BingAPI a simple iOS library for accessing the Bing/Azure API.
Current Support:
BingAPI is available through cocoapods, to install simple add the following line to your PodFile:
pod "BingAPI"Alternatively you can add the github repo as a submodule and use BingAPI as a framework.
Once you've installed the library
Bing object by providing it your Account Key
var bing = Bing("asdfasdfasdfasdfasdf")Search
To Search use the search function:
bing.search("xbox", timeoutInterval: timeoutInterval, resultsHandler: { (results : Array<BingSearchResults>?, error) -> Void in
...
}Search Suggest
To get Search Suggestions use the 'searchSuggest' function:
bing.searchSuggest("xbox", timeoutInterval: timeoutInterval, resultsHandler: { (results : Array<String>?, error) -> Void in
...
}If you have any ideas, suggestions or bugs to report please create an issue labeled feature or bug (check to see if the issue exists first please!). Or suggest a pull request!