Skip to content
a simple iOS library for accessing the Bing/Azure API
Swift Ruby Objective-C Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BingAPI.xcodeproj
BingAPI.xcworkspace
BingAPI
BingAPITests
Tools
.gitignore
.overcommit.yml
.travis.yml
BingAPI.podspec
CHANGELOG.md
Gemfile
Gemfile.lock
LICENSE.md
Podfile
Podfile.lock
README.md

README.md

BingAPI

Build Status codecov.io Pod Platform Pod License Pod Version

BingAPI a simple iOS library for accessing the Bing/Azure API.

Current Support:

  • Search

Installation


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.

Setup


Once you've installed the library

  • Create an instance of the Bing object by providing it your Account Key
	var bing = Bing("asdfasdfasdfasdfasdf")

Usage

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
	   ...	
    }

Contributing

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!

You can’t perform that action at this time.