Skip to content

Fork of the cognitive-services-REST-api-samples GitHub page, for own use.

License

Notifications You must be signed in to change notification settings

nversluis/IR-Lab

 
 

Repository files navigation

Samples for REST APIs in Cognitive Services

This repo provides code samples for cognitive services APIs. There are sections for Language, Search, and Vision APIs using various progamming languages. Note that these are just simple wrappers to the APIs. For SDKs and SDK samples there are separate repos. You can check out all cognitive services APIs here: https://azure.microsoft.com/en-us/services/cognitive-services/. You can check out detailed documentation of these APIs here: https://docs.microsoft.com/en-us/azure/#pivot=products&panel=cognitive.

Features

Code samples (aka API wrappers) in multiple languages. Check out https://azure.microsoft.com/en-us/services/cognitive-services/ for the latest and greatest version of the APIs.

Getting Started

All wrappers require at least two steps:

  1. Copy the sample in your favorite IDE.
  2. Get access key of your API and insert in the code. Build/Compile/Run your code.

You can get free access keys from here: https://azure.microsoft.com/en-us/try/cognitive-services/?api=bing-web-search-api. You can buy access keys from here: https://portal.azure.com/#create/Microsoft.CognitiveServicesBingSearch-v7.

Prerequisites

  1. Your favorite IDE.
  2. Node.js samples are for Node.js 6 version.
  3. Java samples will need JDK 7 or 8 and will require gson library in some cases.
  4. For python, you will need 3.x version.

Quickstart

  1. git clone https://github.com/Azure-Samples/cognitive-services-REST-api-samples
  2. cd cognitive-services-REST-api-samples
  3. Choose your language and sample and open in your favorite IDE.
  4. Insert Access Key (and other parameters as required). See Getting Started section above for info on how to get keys.
  5. Build and Run.

Resources

Keys

Bing API:

  • 42960165105748ec8601fe468d1e9be0
  • 2eb47049603c4b2da07c8748c12a624b

Bing AutoSuggest:

  • 49515df318ee4e4bbe2d770f59700b6a
  • 3ffe6201605c4049b932ff09d7794e2b

About

Fork of the cognitive-services-REST-api-samples GitHub page, for own use.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 50.0%
  • C# 20.9%
  • JavaScript 11.5%
  • Java 10.3%
  • Python 3.6%
  • Ruby 1.8%
  • Other 1.9%